Skip to content

Documentation / scene / RGFramebufferDesc

Interface: RGFramebufferDesc

Defined in: libs/scene/src/render/rendergraph/types.ts:457

Descriptor for a framebuffer view managed by the graph or created temporarily during pass execution.

This is intentionally backend-agnostic: graph-managed descriptors may use RGHandle attachments, and executor-created descriptors use resolved resources or texture formats understood by the allocator.

Properties

label?

optional label?: string

Defined in: libs/scene/src/render/rendergraph/types.ts:459

Debug label for this framebuffer.


width?

optional width?: number

Defined in: libs/scene/src/render/rendergraph/types.ts:461

Framebuffer width. Required when attachments are formats.


height?

optional height?: number

Defined in: libs/scene/src/render/rendergraph/types.ts:463

Framebuffer height. Required when attachments are formats.


colorAttachments

colorAttachments: unknown

Defined in: libs/scene/src/render/rendergraph/types.ts:465

Color attachments or formats.


depthAttachment?

optional depthAttachment?: unknown

Defined in: libs/scene/src/render/rendergraph/types.ts:467

Depth/stencil attachment or format.


mipmapping?

optional mipmapping?: boolean

Defined in: libs/scene/src/render/rendergraph/types.ts:469

Whether color attachments created from formats should support mipmapping.


sampleCount?

optional sampleCount?: number

Defined in: libs/scene/src/render/rendergraph/types.ts:471

Framebuffer sample count.


ignoreDepthStencil?

optional ignoreDepthStencil?: boolean

Defined in: libs/scene/src/render/rendergraph/types.ts:473

Whether to ignore depth/stencil during MSAA resolve.


attachmentMipLevel?

optional attachmentMipLevel?: number

Defined in: libs/scene/src/render/rendergraph/types.ts:475

Attachment mip level.


attachmentCubeface?

optional attachmentCubeface?: number

Defined in: libs/scene/src/render/rendergraph/types.ts:477

Attachment cubemap face.


attachmentLayer?

optional attachmentLayer?: number

Defined in: libs/scene/src/render/rendergraph/types.ts:479

Attachment array layer.

Released under the MIT License.