public record class MeshletGroupThe clusters that were simplified together, and what came out.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The edge of the DAG, and the reason the DAG is a DAG rather than a tree: a group's simplification produces several clusters, and every one of them replaces all of the group's children rather than some of them. A cut therefore refines a group at a time — take all the parents out, put all the children in — which is what keeps it valid.
Error is one number for the whole group for the same reason. If two parents out of one group carried different errors, a threshold between them would draw one parent beside its own siblings' children, and the boundary those two share is exactly the one that was locked to make them meet.
Fields and properties (4)
public int[] ChildrenThe clusters simplified together.
public int[] ParentsThe clusters the simplification produced. Empty if it failed to reduce anything.
public float ErrorThe deviation from the original mesh that drawing the parents rather than the children costs.
public int LevelWhich level the children are at.
Used by (10)
- GpuClusterCullingVixen.Rendering
- MeshletBuilderTestsVixen.Rendering.VirtualGeometry.Tests
- MeshletCutVixen.Rendering.VirtualGeometry
- MeshletCutTestsVixen.Rendering.VirtualGeometry.Tests
- MeshletMeshVixen.Rendering.VirtualGeometry
- MeshletValidatorVixen.Rendering.VirtualGeometry
- MeshletValidatorTestsVixen.Rendering.VirtualGeometry.Tests
- SessionVixen.Rendering.VirtualGeometry
- Vixen_Rendering_VirtualGeometry_MeshletGroupSerializerVixen.Rendering.VirtualGeometry
- Vixen_Rendering_VirtualGeometry_MeshletMeshSerializerVixen.Rendering.VirtualGeometry