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.

meshlet_cull_shared.wgsl

Import path

Structures

ScreenAabb

#
struct ScreenAabb { }

Functions

lod_error_is_imperceptible

#
fn lod_error_is_imperceptible (
lod_sphere: vec4<f32>
simplification_error: f32
instance_id: u32
) -> bool

normalize_plane

#
fn normalize_plane ( ) -> vec4<f32>

aabb_in_frustum

#
fn aabb_in_frustum (
instance_id: u32
) -> bool

min8

#

max8

#

min8_4

#

project_aabb

#
fn project_aabb (
clip_from_local: mat4x4<f32>
near: f32
) -> bool

sample_hzb

#
fn sample_hzb (
mip: i32
) -> f32

sample_hzb_row

#
fn sample_hzb_row (
mip: i32
) -> f32

occlusion_cull_screen_aabb

#
fn occlusion_cull_screen_aabb ( ) -> bool

occlusion_cull_projection

#
fn occlusion_cull_projection ()

occlusion_cull_clip_from_local

#
fn occlusion_cull_clip_from_local (
instance_id: u32
) -> mat4x4<f32>

should_occlusion_cull_aabb

#
fn should_occlusion_cull_aabb (
instance_id: u32
) -> bool