Click or drag to resize
DigitalRuneOcclusionBufferVisualizeCameraBuffer Method
Debugging: Visualizes a level of the camera's hierarchical Z buffer.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void VisualizeCameraBuffer(
	int level,
	RenderContext context
)

Parameters

level
Type: SystemInt32
The index of the level to visualize where 0 is the most detailed level.
context
Type: DigitalRune.GraphicsRenderContext
The render context.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontext is .
Remarks
This method renders a visualization of the occlusion buffer into the current render target and viewport using the current blend state.
See Also