| RebuildZBufferRendererRender Method (RenderContext, Texture2D) |
Rebuilds the current hardware Z-buffer from the G-Buffer and copies the specified texture
to the render target.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Render(
RenderContext context,
Texture2D colorTexture
)
Public Sub Render (
context As RenderContext,
colorTexture As Texture2D
)
public:
void Render(
RenderContext^ context,
Texture2D^ colorTexture
)
member Render :
context : RenderContext *
colorTexture : Texture2D -> unit
Parameters
- context
- Type: DigitalRune.GraphicsRenderContext
The render context. (CameraNode and
GBuffer0 need to be set.)
- colorTexture
- Type: Texture2D
Optional: The color texture to be copied to the render target.
Exceptions See Also