API

Interface CsmRefitDecision

Decision for one frame. refit implies renderDynamic.

interface CsmRefitDecision {
    refit: boolean;
    renderDynamic: boolean;
}
Index
refit: boolean

Recompute cascades, re-render the static cache, then copy + overlay.

renderDynamic: boolean

Copy the cache into the live map and re-render the dynamic overlay. When both flags are false the frame does nothing at all: the live map already holds correct depth.