@pmndrs/bvh
    Preparing search index...

    Interface LayoutCheckMergedIdentity

    A merged static mesh's hit identity (StaticMergeGroup in trace/static-merge.ts), for checking a tree whose records the scene assembly has written it into.

    interface LayoutCheckMergedIdentity {
        flipFrontFace: Uint8Array;
        sourceInstances: Uint32Array;
        sourceMaterials?: Uint16Array<ArrayBufferLike>;
        sourceTriangles: Uint32Array;
    }
    Index
    flipFrontFace: Uint8Array
    sourceInstances: Uint32Array

    Per triangle of the merged geometry: source instance index, index in the source mesh, and 1 to flip frontFace.

    sourceMaterials?: Uint16Array<ArrayBufferLike>

    Per triangle: the source's material as flags bits 16-31 hold it (material + 1, 0 for none). Omitted: all 0.

    sourceTriangles: Uint32Array