Table of Contents

Class RenderTarget2D

Namespace
LibGFX.Graphics
Assembly
LibGFX.dll

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

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

TextureId

public int TextureId { get; set; }

Property Value

int

Width

public int Width { get; set; }

Property Value

int

Methods

Dispose(IRenderDevice)

public void Dispose(IRenderDevice renderer)

Parameters

renderer IRenderDevice