Skip to content

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?

readonly optional label?: string

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

Optional diagnostic label.


sideEffect?

readonly optional sideEffect?: 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

readonly submit: 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?

readonly optional uses?: readonly ResourceUse[]

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.

Open source / MIT licensed