Table of Contents

Class MSAARenderTarget2D

Namespace
LibGFX.Graphics
Assembly
LibGFX.dll

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

width int
height int

Properties

ColorAttachmentId

public int ColorAttachmentId { get; set; }

Property Value

int

DepthAttachmentId

public int DepthAttachmentId { get; set; }

Property Value

int

FramebufferId

The unique identifier for the render target.

public int FramebufferId { get; set; }

Property Value

int

Height

public int Height { get; set; }

Property Value

int

Samples

public int Samples { get; set; }

Property Value

int

TextureFbo

public int TextureFbo { get; set; }

Property Value

int

TextureId

public int TextureId { get; set; }

Property Value

int

Width

public int Width { get; set; }

Property Value

int

Methods

Dispose(IRenderDevice)

Disposes the render target from the specified render device.

public void Dispose(IRenderDevice renderer)

Parameters

renderer IRenderDevice

HasRenderBuffer()

public bool HasRenderBuffer()

Returns

bool