Vixen
dd8b0a81
csharp
public struct RasterMesh

One mesh's quantization grid, as RasterMesh declares it.

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

Remarks

Per mesh and not per cluster, which is the property that keeps a cut crack-free: a vertex on a locked boundary is referenced by a cluster on each side, and only a grid they share decodes it to the same bits from both. See QuantizationStep, which is where that argument is made at length.

Fields and properties (8)

  • public const uint NoInfluences

    What InfluenceOffset holds for a mesh with no skeleton.

  • public const uint NoMorphs

    What MorphRunBase holds for a mesh with no blend shapes.

  • public Vector3 QuantizationOrigin

    The corner of the grid.

  • public float QuantizationStep

    How far apart its points are, in object space.

  • public uint InfluenceOffset

    Where a vertex's bone influences sit inside it, in bytes, or NoInfluences.

  • public uint MorphRunBase

    Where this mesh's per-vertex run table starts in the morph buffer, in words, or NoMorphs.

  • public uint MorphEntryBase

    Where its entries start in the morph buffer, in words.

  • public uint MorphClusterBase

    Where its per-cluster table of source-vertex runs starts in the morph buffer, in words.

Used by (5)

  • GpuClusterCullingTestsVixen.Rendering.Tests
  • GpuClusterVisibilityVixen.Rendering
  • MorphedClusterTestsVixen.Rendering.Tests
  • SkinnedClusterTestsVixen.Rendering.Tests
  • VirtualGeometryGoldenTestsVixen.Graphics.Golden.Tests