Per-vertex canonical-slot map for a SceneGeometry — returned by the index's canonicalSlots accessor.

interface VertexCanonicalSlots {
    canonical: Int32Array;
    uniqueCount: number;
}

Properties

canonical: Int32Array

Per-vertex remap: canonical[v] === v iff v is the first occurrence of its byte signature; otherwise points at the canonical to coalesce onto.

uniqueCount: number

Number of vertex slots that survive de-duplication.