Class RenderTarget2D
Represents a 2D render target such as a framebuffer with a texture attachment. and depth attachment. Used for off-screen rendering without multisampling.
public class RenderTarget2D : IRenderTarget, IRendererResource
- Inheritance
-
RenderTarget2D
- Implements
- Inherited Members
Properties
DepthAttachmentId
public int DepthAttachmentId { get; set; }
Property Value
FramebufferId
The unique identifier for the render target.
public int FramebufferId { get; set; }
Property Value
Height
public int Height { get; set; }
Property Value
TextureId
public int TextureId { get; set; }
Property Value
Width
public int Width { get; set; }
Property Value
Methods
Dispose(IRenderDevice)
public void Dispose(IRenderDevice renderer)
Parameters
rendererIRenderDevice