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

    Pre-created TSL leaf nodes supplied by the wrapper class. The factory consumes them directly in the shader graph instead of snapshotting IUniform.value and bridging back via .onUpdate('render'). The wrapper owns lifetime; rebuildGraph() reuses the same leaves so mutations remain visible after a defines change.

    The colormap AND splat texture nodes are factory-time bound (TSL texture(...) captures the THREE.Texture at call time); the wrapper rebuilds the graph when either texture's identity changes (see setColormapTexture / updateSplatTexture in the wrapper).

    interface GSplatTSLNodes {
        uSplatTex: any;
        uResolution: any;
        uPixelRatio: any;
        uTruncate: any;
        uTruncateSq: any;
        uRayIntegralFactor: any;
        uProjectionMode: any;
        uSortedIndexSlot: any;
        uDensityDrop: any;
        uGlassPartition: any;
        uGlassDepth: any;
        uNearCull: any;
        uMaxExtentFactor: any;
        uCov2DDilation: any;
        uLabelColorMode: any;
        uLabelFilterIndex: any;
        uOpacity: any;
        uAbsorption: any;
        uHasElementAlpha: any;
        uInvGamma: any;
        uIntensity: any;
        uOffset: any;
        uShiftC: any;
        uInvOneMinusC: any;
        uColormapTex?: any;
        uScalarMin?: any;
        uScalarScale?: any;
    }
    Index
    uSplatTex: any

    Splat data texture node (RGBA32F, 4 texels/splat). Every gsplat material has one; the pool commit rebinds it per node via updateSplatTexture.

    uResolution: any
    uPixelRatio: any
    uTruncate: any
    uTruncateSq: any
    uRayIntegralFactor: any
    uProjectionMode: any
    uSortedIndexSlot: any

    Active ordering buffer: 0 = aSortedIndex, 1 = aSortedIndexB.

    uDensityDrop: any
    uGlassPartition: any

    Refraction split (glass-partition-tsl.ts): mode + shared glass depth texture.

    uGlassDepth: any
    uNearCull: any
    uMaxExtentFactor: any
    uCov2DDilation: any
    uLabelColorMode: any
    uLabelFilterIndex: any
    uOpacity: any
    uAbsorption: any

    Absorption coefficient κ — only consumed by the volumetric output branch.

    uHasElementAlpha: any

    1 when colors are RGBA (per-splat opacity present), else 0 — gates the volumetric alpha → optical-depth mapping.

    uInvGamma: any
    uIntensity: any
    uOffset: any
    uShiftC: any
    uInvOneMinusC: any
    uColormapTex?: any
    uScalarMin?: any
    uScalarScale?: any