Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.

Constants

CLUSTER_COUNT_SIZE

#

Functions

view_z_to_z_slice

#

NOTE: Keep in sync with bevy_pbr/src/light.rs

fn view_z_to_z_slice (
view_z: f32,
is_orthographic: bool
) -> u32

fragment_cluster_index

#
fn fragment_cluster_index (
frag_coord: vec2<f32>,
view_z: f32,
is_orthographic: bool
) -> u32

unpack_offset_and_counts

#

get_light_id

#

cluster_debug_visualization

#
fn cluster_debug_visualization (
output_color: vec4<f32>,
view_z: f32,
is_orthographic: bool,
offset_and_counts: vec3<u32>,
cluster_index: u32
) -> vec4<f32>
Contents