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

    Interface SplatTexelSource

    The per-splat arrays the texel writer consumes. Structurally satisfied by both InstancedGSplatsMeshConfig (non-pool fallback) and the pool adapter's remapped PackedGSplatsData.

    interface SplatTexelSource {
        centers: Float32Array;
        choleskyFactors: Float32Array;
        amplitudes: Float32Array;
        colors: Float32Array;
        colorComponents?: 3 | 4;
        labelIndices?: Uint32Array<ArrayBufferLike> | null;
    }
    Index
    centers: Float32Array

    Splat centers (count × 3).

    choleskyFactors: Float32Array

    Packed 3D Cholesky factors [L00, L10, L11, L20, L21, L22] (count × 6).

    amplitudes: Float32Array

    Amplitudes (count).

    colors: Float32Array

    Colors RGB (count × 3) or RGBA (count × 4).

    colorComponents?: 3 | 4

    Components per color item: 3 (RGB) or 4 (RGBA). Absent means 3. The alpha channel (per-splat opacity) is packed into texel3.y and defaults to 1.0 (opaque — the per-element-opacity identity).

    labelIndices?: Uint32Array<ArrayBufferLike> | null

    Compact 1-based categorical class index per splat; 0 means absent.