Click or drag to resize
DigitalRuneRebuildZBufferRendererRender 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.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void Render(
	RenderContext context,
	Texture2D colorTexture
)

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
ExceptionCondition
ArgumentNullExceptioncontext is .
See Also