Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...

    Function holdSortedIndexDrawFromSeed

    • The GROWN-geometry sibling of holdSortedIndexDrawForAppend: a commit that extends the previous population but lands in a DIFFERENT geometry (the pool grew the node's buffers — every rung that doubles a ladder does). The new geometry's texels are fully written, so its first seed.length elements are the same elements the previous geometry drew (the commit layer proves this with the prefix lineage), and seed — the previous geometry's drawn permutation of [0, seed.length) — is an exact ordering of them. Writes identity over count (normalising slot 0, so the whole buffer stays a valid permutation), overlays seed on the prefix, and holds the draw there until the grown population's ordering lands.

      Declines exactly like holdSortedIndexDrawForAppend.

      Parameters

      • geometry: InstancedBufferGeometry
      • seed: Uint32Array
      • count: number

      Returns number