| OcclusionBufferVisualizeLightBuffer Method |
Debugging: Visualizes a level of the light's hierarchical Z buffer. (Only valid when shadow
caster culling is used.)
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void VisualizeLightBuffer(
int level,
RenderContext context
)
Public Sub VisualizeLightBuffer (
level As Integer,
context As RenderContext
)
public:
void VisualizeLightBuffer(
int level,
RenderContext^ context
)
member VisualizeLightBuffer :
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