Interface: RenderGraphRenderTargetDesc
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:99
Declarative description of a render target.
Properties
label
label:
string
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:100
width?
optionalwidth?:number
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:104
0 / undefined => canvas-sized; the underlying RenderTexture installs its own CResizeEvent.RESIZE listener so the GPU resource follows the canvas.
height?
optionalheight?:number
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:105
customSize?
optionalcustomSize?:boolean
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:106
sampleCount?
optionalsampleCount?:number
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:111
MSAA sample count — 0 disables. Forwarded to RTFrame.sampleCount so WebGPUDescriptorCreator.createRendererPassState allocates matching side-band textures.
colors
colors:
RTColorAttachmentDesc[]
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:112
depth?
optionaldepth?:RTDepthAttachmentDesc
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:113
isOutTarget?
optionalisOutTarget?:boolean
Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:116
When true the RT participates in the canvas swapchain present path. Mirrors RTFrame.isOutTarget; default false.

