Module occlusion_culling

Source
Expand description

GPU occlusion culling.

See OcclusionCulling for a detailed description of occlusion culling in Bevy.

Structs§

OcclusionCulling
Add this component to a view in order to enable experimental GPU occlusion culling.
OcclusionCullingPlugin
Enables GPU occlusion culling.
OcclusionCullingSubview
A render-world component that contains resources necessary to perform occlusion culling on any view other than a camera.
OcclusionCullingSubviewEntities
A render-world component placed on each camera that stores references to all entities other than cameras that need occlusion culling.

Constants§

MESH_PREPROCESS_TYPES_SHADER_HANDLE
The handle to the mesh_preprocess_types.wgsl compute shader.