public static class MeshletPageBuilderPacks a cluster DAG's geometry into fixed-size pages, quantized against one grid.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Phase 2's offline half. Two things happen here and they are independent: the geometry is quantized, which is about bytes per vertex, and it is paged, which is about what can be loaded without loading everything.
The quantization is the part that can go wrong silently, and QuantizationStep says how. The paging is the part that decides whether streaming thrashes, and the policy is one line: clusters are packed coarsest-first, so page zero holds the roots and a page holds one level of one neighbourhood. A camera that moves closer wants the next page rather than a scattering of clusters out of every page there is.
Fields and properties (3)
public const int PositionSizeSix bytes of quantized position, three unsigned shorts.
public const int InfluenceSizeEight bytes of influences: four bone indices, then four weights.
public const int MaxBonesHow many bones a mesh whose pages carry influences may have.
Methods (1)
public static MeshletPageSet Build(MeshletMesh mesh, ReadOnlySpan<Vector3> positions, ReadOnlySpan<byte> attributes, MeshletPageSettings settings = default(MeshletPageSettings))Packs a DAG into pages.
Used by (17)
- VirtualGeometryGameVirtualGeometry
- ClusterRasterTestsVixen.Rendering.Tests
- ClusterResolveTestsVixen.Rendering.Tests
- ClusterTraversalAcceptsTestsVixen.Rendering.Tests
- ClusterTraversalGroupTestsVixen.Rendering.Tests
- MeshletPageBuilderTestsVixen.Rendering.VirtualGeometry.Tests
- MeshletPageSettingsVixen.Rendering.VirtualGeometry
- MeshletStreamingTestsVixen.Rendering.Tests
- SkinnedClusterTestsVixen.Rendering.Tests
- VirtualGeometryContentTestsVixen.Rendering.Tests
- VirtualGeometryDeviceTestsVixen.Graphics.Golden.Tests
- VirtualGeometryFrameTestsVixen.Rendering.Tests
- VirtualGeometryGoldenTestsVixen.Graphics.Golden.Tests
- VisibilityResolveTestsVixen.Rendering.Tests
- ModelCompilerVixen.Editor.Assets
- ModelImporterTestsVixen.Editor.Assets.Tests
- SkinnedPageTestsVixen.Editor.Assets.Tests