Class DepthOnlyRenderTarget
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
FramebufferId
The unique identifier for the render target.
public int FramebufferId { get; set; }
Property Value
Height
public int Height { get; set; }
Property Value
Width
public int Width { get; set; }
Property Value
Methods
Dispose(IRenderDevice)
public void Dispose(IRenderDevice renderer)
Parameters
rendererIRenderDevice