Vixen
02b45cc4
csharp
public struct VirtualGeometryDraw

Which registered DAG an object draws, and nothing about how.

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

Remarks

The virtualized counterpart of MeshDraw, and much smaller than one: a draw here names no index range, no vertex offset and no instance count, because none of those are decided until the traversal has chosen a cut. What an object contributes is a DAG and a place to put it.

Fields and properties (7)

  • public int Mesh

    Which registration this object draws, or -1 for an object that draws none.

  • public Vector3 Position

    Where it is, in world space.

  • public float Scale

    The largest scale factor any of its axes has.

  • public int FirstBone

    Where this object's bone matrices start in the frame's palette, or zero if it has none.

  • public float MotionRadius

    How far this object's pose can move its geometry, in object space.

  • public bool IsDrawable

    Whether this object contributes an instance at all.

  • public bool IsSkinned

    Whether it has a palette this frame.

Used by (7)

  • VirtualGeometryGameVirtualGeometry
  • MeshExtractionSystemVixen.Rendering
  • SkinnedClusterTestsVixen.Rendering.Tests
  • VirtualGeometryDeviceTestsVixen.Graphics.Golden.Tests
  • VirtualGeometryExtractionTestsVixen.Rendering.Tests
  • VirtualGeometryGoldenTestsVixen.Graphics.Golden.Tests
  • VirtualGeometryRenderFeatureVixen.Rendering