Vixen
02b45cc4
csharp
public record class ClusterScene

The cluster DAG as one flat set of buffers, plus the traversal's answer.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Flat because a device reads it: the DAG's edges are a run of child indices per cluster and the roots are a run per instance, both concatenated across every instance in the scene. The offline form — MeshletMesh's groups — is a better shape to build and a worse one to traverse, and Flatten is the one place the two are related.

Fields and properties (3)

  • public CullCluster[] Clusters

    Every cluster of every DAG, concatenated.

  • public uint[] Children

    Every cluster's children, concatenated.

  • public uint[] Roots

    Every instance's roots, concatenated.

Methods (1)

  • public ClusterScene(CullCluster[] Clusters, uint[] Children, uint[] Roots)

    The cluster DAG as one flat set of buffers, plus the traversal's answer.

Used by (8)

  • ClusterRoutingTestsVixen.Rendering.Tests
  • ClusterTraversalAcceptsTestsVixen.Rendering.Tests
  • ClusterTraversalGroupTestsVixen.Rendering.Tests
  • GpuClusterCullingVixen.Rendering
  • GpuClusterCullingTestsVixen.Rendering.Tests
  • GpuClusterVisibilityVixen.Rendering
  • SkinnedClusterTestsVixen.Rendering.Tests
  • VirtualGeometryFrameTestsVixen.Rendering.Tests