Click or drag to resize
DigitalRuneOcclusionBufferVisualizeLightBuffer Method
Debugging: Visualizes a level of the light's hierarchical Z buffer. (Only valid when shadow caster culling is used.)

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void VisualizeLightBuffer(
	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