Vixen
02b45cc4
csharp
public record class VirtualGeometryAsset

One mesh's virtualized geometry, as a build wrote it and a frame reads it.

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

Remarks

Two artefacts and no bytes, which is the whole point of the split. The hierarchy is what a traversal walks and has to stay resident; the page records say where a cluster's geometry is in a blob that is read one page at a time. Deserialising the geometry here would read every page of every mesh at load, which is the one thing paging exists to avoid — see WithoutData.

Fields and properties (2)

  • public MeshletMesh Hierarchy

    The cluster DAG: bounds, cones, errors and the group links.

  • public MeshletPageSet Pages

    Where each cluster's geometry is, with no geometry in it.

Methods (2)

  • public VirtualGeometryAsset(MeshletMesh Hierarchy, MeshletPageSet Pages)

    One mesh's virtualized geometry, as a build wrote it and a frame reads it.

  • public VirtualGeometryAsset()

    For the serializer, which builds a value and then fills it.

Used by (12)

  • VirtualGeometryGameVirtualGeometry
  • AssetVirtualGeometrySourceVixen.Engine.Renderer
  • EntryVixen.Engine.Renderer
  • GeometryVixen.Graphics.Golden.Tests
  • TypeRegistrationVixen.Rendering
  • VirtualGeometryContentVixen.Rendering
  • VirtualGeometryContentTestsVixen.Rendering.Tests
  • VirtualGeometrySystemVixen.Rendering
  • Vixen_Rendering_VirtualGeometryAssetSerializerVixen.Rendering
  • ImportedGeometryLoadsTestsVixen.Editor.Assets.Tests
  • ModelImporterVixen.Editor.Assets
  • ModelImporterTestsVixen.Editor.Assets.Tests