@pmndrs/bvh
    Preparing search index...

    Function leafSlotsOf

    • Every child slot that is a leaf, as node * 2 + side, ordered by the leaf's first primitive. Builders store primitives in tree order, so neighbouring entries are often siblings, which the GPU refit's subgroup step pairs up.

      Parameters

      • words: Uint32Array
      • nodeWordOffset: number
      • nodeCount: number

      Returns Uint32Array