cull_clusters.wgsl

Functions
@compute
Runs custom parallel code on the GPU, not limited to graphics
@workgroup_size(128, 1, 1)
Defines the size of a thread group. One to three numbers: width (x), height (y), and depth (z). Missing values default to 1
fn
lod_error_is_imperceptible
(
lod_sphere:
MeshletBoundingSphere
,
simplification_error:
f32
,

world_from_local:
mat4x4<f32>
,

world_scale:
f32
)
->
bool


https://github.com/zeux/meshoptimizer/blob/1e48e96c7e8059321de492865165e9ef071bffba/demo/nanite.cpp#L115