RenderTarget
Represents a rendering target for graphics operations, which can be used to handle color, depth, and stencil attachments with configurability for attributes such as width, height, content scaling, and multisampling.
Properties
List of ColorAttachments.
Content scaling factor.
Effective height in pixels.
Effective width in pixels.
Indicates if this RenderTarget has at least one ColorAttachment.
Indicates if this RenderTarget has a DepthBuffer with depth component
Indicates if this RenderTarget has a DepthBuffer with stencil index
Multisampling mode.
Effective height in pixels.
Effective width in pixels.
Functions
Binds the RenderTarget to the active target.
Clear a color attachment.
Clear the depth attachment.
Find ColorAttachment by name.
Find the index of a ColorAttachment by name.
Get a color attachment as a ColorBuffer.
Destroy the RenderTarget.
Detach all color attachments.
Detach the depthBuffer.
Unbinds the RenderTarget from the active target.