Click or drag to resize
DigitalRuneOcclusionBufferResetShadowCasters Method
Resets state of the shadow casters.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void ResetShadowCasters(
	IList<SceneNode> nodes
)

Parameters

nodes
Type: System.Collections.GenericIListSceneNode
The shadow-casting scene nodes.
Exceptions
ExceptionCondition
ArgumentNullExceptionnodes is .
Remarks

When shadow caster culling is enabled, the method Query(IListSceneNode, RenderContext) marks shadow casting scene nodes as visible or hidden. The shadow map renderer will ignore scene nodes that are marked as hidden.

When shadow caster culling gets disabled, ResetShadowCasters(IListSceneNode) should be called once to reset the state of the shadow casting scene nodes. The method goes through all scene nodes and marks them as visible.

See Also