Skip to main content

Module cluster

Module cluster 

Source
Expand description

Spatial clustering of objects to accelerate rendering performance.

Modules§

assign
Assigning objects to clusters.

Structs§

ClusterVisibilityClass
The VisibilityClass used for clusterables (decals, point lights, spot lights, and light probes).
ClusterZConfig
Configure the depth-slicing strategy for clustered forward rendering
ClusterableObjectCounts
Stores the number of each type of clusterable object in a single cluster.
ClusteredDecal
An object that projects a decal onto surfaces within its bounds.
Clusters
The cluster geometry generated by ClusterConfig.
GlobalClusterGpuSettings
Settings relating to GPU clustering.
GlobalClusterSettings
Cluster configuration depends on rendering capabilities, these are exposed here. They are automatically set by bevy_pbr, but a custom renderer may configure these too.
ObjectsInClusterCpu
All objects that potentially intersect a single cluster.

Enums§

ClusterConfig
Configuration of the clustering strategy for clustered forward rendering
ClusterFarZMode
Configure the far z-plane mode used for the furthest depth slice for clustered forward rendering
ClusterableObjects
The list of objects within a cluster, if known to the CPU.

Functions§

add_light_probe_and_decal_aabbs
A system that adds AABBs to light probes and decals so that the visibility determination works for them.