Class MSAARenderTarget2D
A 2D render target that encapsulates a framebuffer, texture, and optional renderbuffer for depth/stencil.
public class MSAARenderTarget2D : IRenderTarget, IRendererResource
- Inheritance
-
MSAARenderTarget2D
- Implements
- Inherited Members
Constructors
MSAARenderTarget2D(int, int)
public MSAARenderTarget2D(int width, int height)
Parameters
Properties
ColorAttachmentId
public int ColorAttachmentId { get; set; }
Property Value
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
Samples
public int Samples { get; set; }
Property Value
TextureFbo
public int TextureFbo { get; set; }
Property Value
TextureId
public int TextureId { get; set; }
Property Value
Width
public int Width { get; set; }
Property Value
Methods
Dispose(IRenderDevice)
Disposes the render target from the specified render device.
public void Dispose(IRenderDevice renderer)
Parameters
rendererIRenderDevice
HasRenderBuffer()
public bool HasRenderBuffer()