Click or drag to resize
DigitalRuneOcclusionBufferRender Method (IListSceneNode, LightNode, SceneNodeRenderer, RenderContext)
Clears the occlusion buffer and renders the specified list of occluders.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void Render(
	IList<SceneNode> occluders,
	LightNode lightNode,
	SceneNodeRenderer renderer,
	RenderContext context
)

Parameters

occluders
Type: System.Collections.GenericIListSceneNode
The occluders.
lightNode
Type: DigitalRune.Graphics.SceneGraphLightNode
Optional: The light node that casts directional shadows. Only required when using shadow caster culling.
renderer
Type: DigitalRune.Graphics.RenderingSceneNodeRenderer
Optional: A SceneNodeRenderer for rendering custom scene nodes into the occlusion buffer.
context
Type: DigitalRune.GraphicsRenderContext
The render context.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontext is .
See Also