Expand description
Spatial clustering of objects to accelerate rendering performance.
Modules§
- assign
- Assigning objects to clusters.
Structs§
- Cluster
Visibility Class - The
VisibilityClassused for clusterables (decals, point lights, spot lights, and light probes). - ClusterZ
Config - Configure the depth-slicing strategy for clustered forward rendering
- Clusterable
Object Counts - Stores the number of each type of clusterable object in a single cluster.
- Clustered
Decal - An object that projects a decal onto surfaces within its bounds.
- Clusters
- The cluster geometry generated by
ClusterConfig. - Global
Cluster GpuSettings - Settings relating to GPU clustering.
- Global
Cluster Settings - 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. - Objects
InCluster Cpu - All objects that potentially intersect a single cluster.
Enums§
- Cluster
Config - Configuration of the clustering strategy for clustered forward rendering
- Cluster
FarZ Mode - Configure the far z-plane mode used for the furthest depth slice for clustered forward rendering
- Clusterable
Objects - 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.