Module shadow_bindings
Expand description
Bind-group contract for the shadow-aware lighting bind group (group 3 in every lit pipeline).
This file is the single source of truth mirrored by the WGSL
lib modules under khora-lanes/src/render_lane/shaders/lib/shadow/
(bindings.wgsl + sampling helpers). Bump a constant here and
update the WGSL counterpart in lockstep.
Modules§
- binding
- Binding indices inside the “lit + shadow” bind group (group 3).
Structs§
- Shadow
GpuBindings - Per-frame GPU resources shadow strategies publish for lit lanes.
Functions§
- fill_
shadow_ bind_ group_ entries - Pushes the three shadow-related [
BindGroupEntry] values intoentries. Lit lanes call this immediately after pushing their ownLIGHTING_UNIFORMSentry. - shadow_
bind_ group_ layout_ entries - Returns the three [
BindGroupLayoutEntry] values shadow contributes to the lit lane’s group-3 bind group layout.