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

    Function attachSplatStorage

    • Gsplat-bound wrapper over element-storage.ts::attachElementStorage: create the splat data texture + aSortedIndex attribute pair on a geometry, sized for capacity splats (4 texels/splat). Returns the texture. See the generic helper for the full lifetime contract.

      Parameters

      • geometry: InstancedBufferGeometry
      • capacity: number

      Returns DataTexture