public struct CullClusterOne cluster as CullCluster in the shader declares it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The runtime half of Meshlet, and nothing that is only needed once a cluster has been accepted. Where its geometry is lives in the page placement, which the traversal reads only to ask whether it has arrived — a cluster has to be tested before anybody can know whether its bytes are wanted, which is why the records are resident and the geometry is paged.
Fields and properties (14)
public Vector3 CenterThe bind-pose bound's centre, in the mesh's own space.
public float RadiusIts radius.
public Vector3 ConeAxisThe axis of the cone every triangle's normal lies inside.
public float ConeCosineThe cosine of the cone's half-angle. Negative means the cone can never reject.
public Vector3 ErrorCenterThe bound of the group whose simplification produced this cluster, which is where Error is projected from.
public float ErrorRadiusThe group bound's radius.
public float ErrorHow far this cluster's surface may deviate from the original mesh, in object space.
public float ParentErrorThe error of the group this cluster is simplified into, or a very large number.
public uint FirstChildWhere this cluster's children start in the child array.
public uint ChildCountHow many it has. Zero is a leaf: level zero, the original mesh.
public uint PageWhich page holds its geometry.
public uint FlagsClusterRoot when nothing simplifies it further.
public uint GroupLeadThe lowest-indexed parent of the group that produced this cluster — the one that pushes.
public uint PaddingFour bytes of tail padding the shader declares and never reads.
Used by (7)
- ClusterRoutingTestsVixen.Rendering.Tests
- ClusterSceneVixen.Rendering
- ClusterTraversalGroupTestsVixen.Rendering.Tests
- GpuClusterCullingVixen.Rendering
- GpuClusterCullingTestsVixen.Rendering.Tests
- GpuClusterVisibilityVixen.Rendering
- VirtualGeometryFrameTestsVixen.Rendering.Tests