 | OcclusionBufferVisualizeObject Method |
Debugging: Visualizes the occlusion query for the specified scene node.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic void VisualizeObject(
SceneNode node,
RenderContext context
)
Public Sub VisualizeObject (
node As SceneNode,
context As RenderContext
)
public:
void VisualizeObject(
SceneNode^ node,
RenderContext^ context
)
member VisualizeObject :
node : SceneNode *
context : RenderContext -> unit
Parameters
- node
- Type: DigitalRune.Graphics.SceneGraphSceneNode
The scene node. - context
- Type: DigitalRune.GraphicsRenderContext
The render context.
Exceptions
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