Interface: BeginPassOptions
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:25
Per-call open options for RenderGraphRenderTarget.beginPass.
Any field left undefined (or any array slot left undefined) defaults via the auto-derive rule:
- first writer of the RT this frame ⇒
'clear' - subsequent writer of the same RT ⇒
'load'
Callers explicitly set a field when they need to override the default — typical case is a mid-frame ClearDepth that wants depthLoadOp: 'clear' even though it isn't the first writer.
Properties
colorLoadOps?
optionalcolorLoadOps?:GPULoadOp[]
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:29
Per-color-attachment loadOp. Length matches the RT's color count. Each slot independently auto-derives when left undefined.
colorClearValues?
optionalcolorClearValues?:GPUColor[]
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:32
Optional override of per-attachment clearValue (defaults to the RT descriptor's clearValue).
depthLoadOp?
optionaldepthLoadOp?:GPULoadOp
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:33
depthClearValue?
optionaldepthClearValue?:number
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:34
stencilLoadOp?
optionalstencilLoadOp?:GPULoadOp
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:35
label?
optionallabel?:string
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:38
Suffix appended to the underlying command encoder + render pass for devtools. Defaults to the target name.

