Class: LocalShadowScheduler
The L3 tier: decides which clustered lights earn a shadow slot (with eviction hysteresis so orbiting the camera does not thrash the atlas), owns the cached-static / dynamic-overlay face state machine per slot, and renders the faces the ShadowFrameLedger grants each frame.
A frame with zero shadow slots costs one integer compare in update and
an early return in render.
Constructors
constructor
• new LocalShadowScheduler(registry, options): LocalShadowScheduler
Parameters
| Name | Type |
|---|---|
registry | LightSourceRegistry |
options | Object |
options.maxShadowedLights | number |
options.shadowAtlasSize | number |
options.shadowEvictionHysteresis | Object |
options.shadowEvictionHysteresis.frames | number |
options.shadowEvictionHysteresis.ratio | number |
options.shadowSlotSize | number |