Documentation / scene / RGFramebufferDesc
Interface: RGFramebufferDesc<TTexture>
Defined in: libs/scene/src/render/rendergraph/types.ts:331
Backend-independent framebuffer descriptor.
Type Parameters
TTexture
TTexture = BaseTexture
Properties
label?
optionallabel?:string
Defined in: libs/scene/src/render/rendergraph/types.ts:333
Debug label for this framebuffer.
width?
optionalwidth?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:335
Framebuffer width. Required when attachments are formats.
height?
optionalheight?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:337
Framebuffer height. Required when attachments are formats.
colorAttachments
colorAttachments:
RGTextureAttachment<TTexture> |RGTextureAttachment<TTexture>[]
Defined in: libs/scene/src/render/rendergraph/types.ts:339
Color attachments or formats.
depthAttachment?
optionaldepthAttachment?:RGTextureAttachment<TTexture>
Defined in: libs/scene/src/render/rendergraph/types.ts:341
Depth/stencil attachment or format.
mipmapping?
optionalmipmapping?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:343
Whether color attachments created from formats should support mipmapping.
sampleCount?
optionalsampleCount?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:345
Framebuffer sample count.
ignoreDepthStencil?
optionalignoreDepthStencil?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:347
Whether to ignore depth/stencil during MSAA resolve.
attachmentMipLevel?
optionalattachmentMipLevel?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:349
Attachment mip level.
attachmentCubeface?
optionalattachmentCubeface?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:351
Attachment cubemap face.
attachmentLayer?
optionalattachmentLayer?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:353
Attachment array layer.