Click or drag to resize
DigitalRuneOcclusionBufferVisualizeShadowVolume Method
Debugging: Visualizes the occlusion query for the specified shadow volume.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void VisualizeShadowVolume(
	SceneNode node,
	RenderContext context
)

Parameters

node
Type: DigitalRune.Graphics.SceneGraphSceneNode
The shadow caster.
context
Type: DigitalRune.GraphicsRenderContext
The render context.
Exceptions
ExceptionCondition
ArgumentNullExceptionnode or context is .
Remarks
This method renders a visualization of the occlusion buffer and the coverage of the specified shadow volume in the occlusion buffer into the current render target and viewport using the current blend state.
See Also