Click or drag to resize
DigitalRuneRebuildZBufferRendererRender Method (RenderContext, Boolean)
Rebuilds the current hardware Z-buffer from the G-Buffer and clears or preserves the current 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,
	bool preserveColor
)

Parameters

context
Type: DigitalRune.GraphicsRenderContext
The render context. (CameraNode and GBuffer0 need to be set.)
preserveColor
Type: SystemBoolean
If set to color writes are disabled to preserve the current content; otherwise, to clear the color target.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontext is .
Remarks
Note that the option preserveColor (to disable color writes) is not supported by all render target formats.
See Also