Skip to main content

Interface: CSMShadowLedger

The slice of the shared shadow ledger CSM consults. Injected rather than imported so the CSM renderer stays constructible without the local-light system (and byte-identical in behavior when no ledger is attached).

Methods​

chargeCsmNear​

▸ chargeCsmNear(units): void

Parameters​

NameType
unitsnumber

Returns​

void


requestCsmFar​

▸ requestCsmFar(units): boolean

Parameters​

NameType
unitsnumber

Returns​

boolean