public record class MeshletBuildInputThe mesh a cluster DAG is built over.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The same parallel arrays a mesh is imported as, and deliberately not that type: this library sits below the render system, so a build can be checked without a device, a render feature or a material anywhere in the reference graph.
The attributes are here to find seams, not to be simplified. Two vertices at one position with different UVs are a seam, and a seam is locked — collapsing across one would have to decide which of the two texture coordinates the survivor keeps, and either answer smears a texture across the join. Everything the build does with normals, tangents, UVs and weights is that comparison.
Fields and properties (11)
public Vector3[] PositionsOne position per vertex.
public int[] IndicesThree vertex indices per triangle.
public Vector3[] NormalsOne normal per vertex, or empty.
public Vector4[] TangentsOne tangent per vertex, or empty.
public Vector2[] TexCoordsOne texture coordinate per vertex, or empty.
public int[] BoneIndicesFour joint indices per vertex, or empty.
public float[] BoneWeightsFour weights per vertex, or empty.
public int MaterialIndexWhich of the model's materials every cluster is drawn with.
public int VertexCountHow many vertices there are.
public int TriangleCountHow many triangles there are.
public bool IsSkinnedWhether it carries skinning weights.
Methods (1)
public void Validate()Refuses a mesh a DAG cannot be built over.
Used by (25)
- VirtualGeometryGameVirtualGeometry
- ClusterRasterTestsVixen.Rendering.Tests
- ClusterResolveTestsVixen.Rendering.Tests
- ClusterTraversalAcceptsTestsVixen.Rendering.Tests
- ClusterTraversalGroupTestsVixen.Rendering.Tests
- MeshSimplifierTestsVixen.Rendering.VirtualGeometry.Tests
- MeshletBuilderVixen.Rendering.VirtualGeometry
- MeshletBuilderTestsVixen.Rendering.VirtualGeometry.Tests
- MeshletCutTestsVixen.Rendering.VirtualGeometry.Tests
- MeshletPageBuilderTestsVixen.Rendering.VirtualGeometry.Tests
- MeshletStreamingTestsVixen.Rendering.Tests
- MeshletValidatorVixen.Rendering.VirtualGeometry
- MeshletValidatorTestsVixen.Rendering.VirtualGeometry.Tests
- SessionVixen.Rendering.VirtualGeometry
- ShapesVixen.Rendering.VirtualGeometry.Tests
- SkinnedClusterTestsVixen.Rendering.Tests
- SoftwareRasterTestsVixen.Rendering.Tests
- TopologyVixen.Rendering.VirtualGeometry
- TopologyTestsVixen.Rendering.VirtualGeometry.Tests
- VirtualGeometryContentTestsVixen.Rendering.Tests
- VirtualGeometryDeviceTestsVixen.Graphics.Golden.Tests
- VirtualGeometryFrameTestsVixen.Rendering.Tests
- VirtualGeometryGoldenTestsVixen.Graphics.Golden.Tests
- VisibilityResolveTestsVixen.Rendering.Tests
- ModelCompilerVixen.Editor.Assets