@pmndrs/bvh
    Preparing search index...

    Interface BvhRefitStats

    One refit's summary, read back a frame or two later.

    interface BvhRefitStats {
        generation: number;
        incomplete: number;
        relativeCost: number;
        repairs: number;
        rootBox: Float32Array;
        rootsFinished: number;
        summedHalfArea: number;
    }
    Index
    generation: number
    incomplete: number

    Climb reads that gave up waiting; see BVH_REFIT_STAT. Non-zero means the repair pass ran.

    relativeCost: number

    summedHalfArea over the root's half-area: relativeSahCost of the refit tree.

    repairs: number

    1 when the repair pass refit the tree again.

    rootBox: Float32Array
    rootsFinished: number
    summedHalfArea: number

    Summed half-area of every inner node, the root included.