@pmndrs/bvh
    Preparing search index...

    Variable BVH_REFIT_STATConst

    BVH_REFIT_STAT: {
        generation: 7;
        incomplete: 8;
        repairs: 10;
        rootLower: 0;
        rootsFinished: 9;
        rootUpper: 4;
        summedHalfArea: 3;
    } = ...

    Word positions in the stats buffer.

    Type Declaration

    • Readonlygeneration: 7

      The generation of the tree that was refit, echoed so a late readback can be matched to its tree.

    • Readonlyincomplete: 8

      Box reads that were still unwritten after the bounded spin, or climbs that didn't end. Must be 0.

    • Readonlyrepairs: 10

      1 when the repair pass refit the tree again (because incomplete > 0).

    • ReadonlyrootLower: 0
    • ReadonlyrootsFinished: 9

      Threads that finished the root: 1 per refit of a non-empty tree, 2 when the repair pass ran too.

    • ReadonlyrootUpper: 4
    • ReadonlysummedHalfArea: 3