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

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void VisualizeShadowCaster(
	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 caster in the occlusion buffer into the current render target and viewport using the current blend state.
See Also