| OcclusionBufferVisualizeCameraBuffer Method |
Debugging: Visualizes a level of the camera's hierarchical Z buffer.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void VisualizeCameraBuffer(
int level,
RenderContext context
)
Public Sub VisualizeCameraBuffer (
level As Integer,
context As RenderContext
)
public:
void VisualizeCameraBuffer(
int level,
RenderContext^ context
)
member VisualizeCameraBuffer :
level : int *
context : RenderContext -> unit
Parameters
- level
- Type: SystemInt32
The index of the level to visualize where 0 is the most detailed level.
- context
- Type: DigitalRune.GraphicsRenderContext
The render context.
Exceptions Remarks
This method renders a visualization of the occlusion buffer into the current render target
and viewport using the current blend state.
See Also