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.
Star

Functions

get_position

#
Active when
PACKED_F32
fn get_position (
index: u32
) -> vec3<f32>

get_color

#
Active when
PACKED_F32
fn get_color (
index: u32,
ray_direction: vec3<f32>
) -> vec3<f32>

get_spherical_harmonics

#
Active when
PACKED_F32
fn get_spherical_harmonics (
index: u32
) -> array<f32, #{SH_COEFF_COUNT}>

get_rotation

#
Active when
PACKED_F32
fn get_rotation (
index: u32
) -> vec4<f32>

get_scale

#
Active when
PACKED_F32
fn get_scale (
index: u32
) -> vec3<f32>

get_opacity

#
Active when
PACKED_F32
fn get_opacity (
index: u32
) -> f32

get_visibility

#
Active when
PACKED_F32
fn get_visibility (
index: u32
) -> f32
Contents