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.

occlusion_culling.wgsl

Import path

Functions

get_aabb_size_in_pixels

#
fn get_aabb_size_in_pixels (
depth_pyramid: texture_2d<f32>
) -> vec2<f32>

get_occluder_depth

#
fn get_occluder_depth (
aabb_pixel_size: vec2<f32>
depth_pyramid: texture_2d<f32>
) -> f32