@pmndrs/bvh
    Preparing search index...

    Interface BvhRefitShape

    The tree shape the refit needs, from whoever built the tree.

    interface BvhRefitShape {
        generation: number;
        leafSlots: Uint32Array;
        nodeCount: number;
        nodeWordOffset: number;
        parentSlots: Uint32Array;
    }
    Index
    generation: number

    Any number that tells trees apart; echoed in the stats.

    leafSlots: Uint32Array

    Every leaf child slot, in primitive order (leafSlotsOf).

    nodeCount: number
    nodeWordOffset: number

    Where node 0 starts in the tree buffer, in 32-bit words.

    parentSlots: Uint32Array

    Parent of each node as a child slot (parent * 2 + side), or GPU_LAYOUT_NO_PARENT for the root.