ZenFG TypeScript API / webgpu / root / ExternalSubmissionNodeDesc
Type Alias: ExternalSubmissionNodeDesc
ExternalSubmissionNodeDesc =
object
Defined in: packages/webgpu/src/types.ts:859
Beta
Declares an opaque caller-owned queue submission node.
When retained, FrameGraph ends its current command segment before invoking submit and starts a later segment for following retained graph nodes. This is a submission-order boundary, not a GPU-completion fence.
Properties
label?
readonlyoptionallabel?:string
Defined in: packages/webgpu/src/types.ts:861
Optional diagnostic label.
sideEffect?
readonlyoptionalsideEffect?:boolean
Defined in: packages/webgpu/src/types.ts:871
Whether this opaque node is a retention root. Defaults to true; an unreachable false node is culled and creates no execution boundary.
submit
readonlysubmit:SynchronousCallback<ExternalSubmissionContext>
Defined in: packages/webgpu/src/types.ts:877
Must enqueue all graph-visible GPU work on ctx.device.queue before returning. Resolved transient resources must not escape the callback. The callback must return undefined; FrameGraph does not await it.
uses?
readonlyoptionaluses?: readonlyResourceUse[]
Defined in: packages/webgpu/src/types.ts:866
Complete graph-visible resource accesses made by the external work, including imported resources reached through external-owner references.