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

    What one geometry type contributes to the shared lifecycle.

    interface TextureBackedLayout {
        type: "points" | "lines" | "gsplats";
        clampCapacity(count: number, warn?: boolean): number;
        attachStorage(geometry: InstancedBufferGeometry, capacity: number): void;
    }
    Index
    type: "points" | "lines" | "gsplats"
    • Clamp an element count to the per-node element-texture bound (width × maxTextureSize / texels-per-element). warn is false for the internal re-clamp of the growth headroom, which may cross the bound by itself.

      Parameters

      • count: number
      • Optionalwarn: boolean

      Returns number