Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

gaussian_2d.wgsl

Import path

Structures

Surfel

#
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

#

Shader defs requirments:

🟢 GAUSSIAN_2D

fn get_bounding_box_cov2d (
direction: vec2<f32>
cutoff: f32
) -> vec4<f32>

compute_cov2d_surfel

#

Shader defs requirments:

🟢 GAUSSIAN_2D

fn compute_cov2d_surfel (
gaussian_position: vec3<f32>
index: u32
cutoff: f32
) -> Surfel

surfel_fragment_power

#

Shader defs requirments:

🟢 GAUSSIAN_2D

fn surfel_fragment_power (
local_to_pixel: mat3x3<f32>
pixel_coord: vec2<f32>
mean_2d: vec2<f32>
) -> f32