Table of Contents

Class DepthOnlyRenderTarget

Namespace
LibGFX.Graphics
Assembly
LibGFX.dll

Represents a render target that only contains a depth texture. Useful for shadow mapping and depth pre-pass techniques.

public class DepthOnlyRenderTarget : IRenderTarget, IRendererResource
Inheritance
DepthOnlyRenderTarget
Implements
Inherited Members

Properties

DepthTextureId

public int DepthTextureId { 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

Width

public int Width { get; set; }

Property Value

int

Methods

Dispose(IRenderDevice)

public void Dispose(IRenderDevice renderer)

Parameters

renderer IRenderDevice