RebuildZBufferRenderer Class |
Namespace: DigitalRune.Graphics.Rendering
The RebuildZBufferRenderer type exposes the following members.
Name | Description | |
---|---|---|
RebuildZBufferRenderer |
Initializes a new instance of the RebuildZBufferRenderer class.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Render(RenderContext, Vector4F) |
Rebuilds the current hardware Z-buffer from the G-Buffer and writes the specified color
value to the current render target.
| |
Render(RenderContext, Texture2D) |
Rebuilds the current hardware Z-buffer from the G-Buffer and copies the specified texture
to the render target.
| |
Render(RenderContext, Boolean) |
Rebuilds the current hardware Z-buffer from the G-Buffer and clears or preserves the current
render target.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
FarBias |
Gets or sets the factor used to bias the camera far plane distance to avoid
z-fighting.
| |
NearBias |
Gets or sets the factor used to bias the camera near plane distance to avoid
z-fighting.
|
This renderer reads the G-Buffer and outputs depth to the hardware Z-buffer. The resulting Z-buffer is not totally accurate but should be good enough for most operations.
Render Target and Viewport:
This renderer renders into the current render target and viewport of the graphics device.