Click or drag to resize
DigitalRuneOcclusionBufferVisualizeObject Method
Debugging: Visualizes the occlusion query for the specified scene node.

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

Parameters

node
Type: DigitalRune.Graphics.SceneGraphSceneNode
The scene node.
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 scene node in the occlusion buffer into the current render target and viewport using the current blend state.
See Also