Documentation / scene / RGTextureDesc
Interface: RGTextureDesc
Defined in: libs/scene/src/render/rendergraph/types.ts:16
Descriptor for a graph-managed transient texture.
Properties
label?
optionallabel?:string
Defined in: libs/scene/src/render/rendergraph/types.ts:18
Debug label for this resource.
allocationKey?
optionalallocationKey?:string
Defined in: libs/scene/src/render/rendergraph/types.ts:23
Stable identity used to prefer the same pooled texture across graph executions. When omitted, the graph derives one from the declaring pass and resource label.
format
format:
TextureFormat
Defined in: libs/scene/src/render/rendergraph/types.ts:25
Texture format.
sizeMode?
optionalsizeMode?:RGSizeMode
Defined in: libs/scene/src/render/rendergraph/types.ts:27
Sizing mode. Default 'backbuffer-relative'.
width?
optionalwidth?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:29
Pixel width or backbuffer scale. Default 1.
height?
optionalheight?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:31
Pixel height or backbuffer scale. Default 1.
mipLevels?
optionalmipLevels?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:33
Number of mip levels. Default 1.
arrayLayers?
optionalarrayLayers?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:35
Array layers. Any defined value, including 1, requests a 2D array texture.