OcclusionBufferResetShadowCasters Method |
Namespace: DigitalRune.Graphics.Rendering
Exception | Condition |
---|---|
ArgumentNullException | nodes is . |
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.