Click or drag to resize
DigitalRuneRebuildZBufferRenderer.Render 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.Graphics.RenderContext
The render context. (CameraNode and GBuffer0 need to be set.)
preserveColor
Type: System.Boolean
If set to true color writes are disabled to preserve the current content; otherwise, false to clear the color target.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontext is null.
Remarks
Note that the option preserveColor (to disable color writes) is not supported by all render target formats.
See Also