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