ReadonlynameStable identifier used for lookup, signature hashing, and pass-name keying.
When false, the feature is skipped each frame. Toggling triggers a cached-graph invalidation.
Latest read-back view-space depth bounds (null until the first readback).
Sample-Distribution Shadow Maps (SDSM) depth feedback, as a RenderFeature.
Each frame it reduces the G-buffer depth to the visible min/max view-linear depth on the GPU and reads it back, so a ShadowFeature can fit its cascades to that slab instead of the full
[near, shadowFar]range — far more texel density for the same shadow-map size.Wire it after the geometry feature (its reduction reads
frame.gbuffer.depth) and passdepthBounds: () => sdsm.boundsto the ShadowFeature. The actual work lives in the reusable SdsmReducer so hand-wired graphs (crafty) can drive it directly.