Bevy Shader Explorer
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.
☾
Packages
›
bevy_gaussian_splatting
6.0.0
3.0.0
5.1.0
›
gaussian_2d.wgsl
Copy import path
Save
Structures
Surfel
#
Copy import statement
struct
Surfel
{
local_to_pixel:
mat3x3
<
f32
>,
GAUSSIAN_2D
mean_2d:
vec2
<
f32
>,
GAUSSIAN_2D
extent:
vec2
<
f32
>,
GAUSSIAN_2D
}
Functions
get_bounding_box_cov2d
#
Copy import statement
Used by 1 shader in bevy_gaussian_splatting 6.0.0
bevy_gaussian_splatting 6.0.0 — gaussian.wgsl
Active when
GAUSSIAN_2D
fn
get_bounding_box_cov2d
(
extent:
vec2
<
f32
>,
direction:
vec2
<
f32
>,
cutoff:
f32
)
->
vec4
<
f32
>
compute_cov2d_surfel
#
Copy import statement
Used by 1 shader in bevy_gaussian_splatting 6.0.0
bevy_gaussian_splatting 6.0.0 — gaussian.wgsl
Active when
GAUSSIAN_2D
fn
compute_cov2d_surfel
(
gaussian_position:
vec3
<
f32
>,
index:
u32
,
cutoff:
f32
)
->
Surfel
surfel_fragment_power
#
Copy import statement
Used by 1 shader in bevy_gaussian_splatting 6.0.0
bevy_gaussian_splatting 6.0.0 — gaussian.wgsl
Active when
GAUSSIAN_2D
fn
surfel_fragment_power
(
local_to_pixel:
mat3x3
<
f32
>,
pixel_coord:
vec2
<
f32
>,
mean_2d:
vec2
<
f32
>
)
->
f32
Contents
Structures
Surfel
Functions
get_bounding_box_cov2d
compute_cov2d_surfel
surfel_fragment_power