Skip to main content

LIGHTS_BINDING

Constant LIGHTS_BINDING 

Source
pub const LIGHTS_BINDING: u32 = 7;
Expand description

Binding slot of the frame’s lights in the global bind group.

One record per light, in view space, packed by the source every frame. The fragment stage reads it, so it is not visible to a vertex stage.