@pmndrs/bvh
    Preparing search index...

    Interface TopLevelShape

    interface TopLevelShape {
        leafSlots: Uint32Array;
        maxDepth: number;
        nodeCount: number;
        nodes: ArrayBuffer;
        parentSlots: Uint32Array;
        recordSlots: Uint32Array;
        relativeCost: number;
    }
    Index
    leafSlots: Uint32Array

    Every leaf child slot, in record order.

    maxDepth: number

    Levels of nodes on the longest path (bounds the traversal stack).

    nodeCount: number
    nodes: ArrayBuffer

    nodeCount nodes in the tracer's layout. A leaf's index is a record index.

    parentSlots: Uint32Array

    Parent of each node as a child slot (parent * 2 + side); see @pmndrs/bvh gpu-refit.ts.

    recordSlots: Uint32Array

    The scene instance slot each record holds.

    relativeCost: number

    relativeSahCost of the tree as built: the baseline its quality is compared with.