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.

Functions

location

#
Used by 1 shader in bevy_gaussian_splatting 6.0.0
fn location (
index: u32
) -> vec2<i32>

get_position

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

get_sh_vec

#
Active when
PLANAR_TEXTURE_F16
fn get_sh_vec (
index: u32,
plane: i32
) -> vec4<u32>

get_color

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

get_spherical_harmonics

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

get_cov3d

#
Active when
PRECOMPUTE_COVARIANCE_3D
fn get_cov3d (
index: u32
) -> array<f32, 6>

get_rotation

#
Active when
!PRECOMPUTE_COVARIANCE_3D
fn get_rotation (
index: u32
) -> vec4<f32>
Active when
PLANAR_TEXTURE_F32
fn get_rotation (
index: u32
) -> vec4<f32>

get_scale

#
Active when
!PRECOMPUTE_COVARIANCE_3D
fn get_scale (
index: u32
) -> vec3<f32>
Active when
PLANAR_TEXTURE_F32
fn get_scale (
index: u32
) -> vec3<f32>

get_opacity

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

get_visibility

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