Skip to content

ZenFG TypeScript API / webgpu / root / CompiledFrame

Interface: CompiledFrame

Defined in: packages/webgpu/src/types.ts:1288

Executable result of one consumed recording. It may be re-executed only while its captured callbacks and borrowed GPU resources remain valid.

Extended by

Methods

execute()

execute(options?): void

Defined in: packages/webgpu/src/types.ts:1290

Executes synchronously without timing. Throws on execution or callback failure.

Parameters

options?

CompiledFrameExecuteOptions

Returns

void


executeWithTiming()

executeWithTiming(options): FrameGraphExecutionTiming

Defined in: packages/webgpu/src/types.ts:1296

Executes synchronously with explicitly selected timing families. CPU results do not await GPU completion. GPU unavailability is non-fatal. Throws synchronously on execution failure; no partial CPU report is returned.

Parameters

options

CompiledFrameExecuteOptions & object

Returns

FrameGraphExecutionTiming

Open source / MIT licensed