bevy_render::view::visibility

Constant VISIBILITY_RANGES_STORAGE_BUFFER_COUNT

Source
pub const VISIBILITY_RANGES_STORAGE_BUFFER_COUNT: u32 = 4;
Expand description

We need at least 4 storage buffer bindings available to enable the visibility range buffer.

Even though we only use one storage buffer, the first 3 available storage buffers will go to various light-related buffers. We will grab the fourth buffer slot.