Skip to content

@orillusion/core


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? ​

optional width?: 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? ​

optional height?: number

Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:105


customSize? ​

optional customSize?: boolean

Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:106


sampleCount? ​

optional sampleCount?: 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? ​

optional depth?: RTDepthAttachmentDesc

Defined in: src/gfx/renderJob/graph/RenderGraphRenderTarget.ts:113


isOutTarget? ​

optional isOutTarget?: 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.