ZenFG TypeScript API / webgpu / root / CompiledFrameSubmitContext
Type Alias: CompiledFrameSubmitContext
CompiledFrameSubmitContext =
object
Defined in: packages/webgpu/src/types.ts:1105
Beta
Context passed to beforeSubmit for one FrameGraph-owned command segment.
The command encoder is valid only during the synchronous callback.
Properties
commandEncoder
readonlycommandEncoder:GPUCommandEncoder
Defined in: packages/webgpu/src/types.ts:1109
Encoder that will be finished and submitted after the callback returns.
device
readonlydevice:GPUDevice
Defined in: packages/webgpu/src/types.ts:1107
Device permanently bound to the FrameGraph instance.
frameIndex
readonlyframeIndex:number
Defined in: packages/webgpu/src/types.ts:1111
Caller-provided logical frame index.
segmentCount
readonlysegmentCount:number
Defined in: packages/webgpu/src/types.ts:1115
Total number of FrameGraph-owned command segments in this execution.
segmentIndex
readonlysegmentIndex:number
Defined in: packages/webgpu/src/types.ts:1113
Zero-based index among FrameGraph-owned command segments.