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

    Module rendering/widen-to-float32

    Dtype widening for the texel writers.

    The sole survivor of the interleaved-attributes era: the fused texel writers (point-geometry.ts::writePointTexels, line-geometry.ts::writeLineTexels, the gsplat packer) consume ALREADY-WIDENED Float32 arrays, and this helper is how the call sites (gpu-buffer-pool/points-adapter.ts, node-factory/create-points-node.ts) widen compact integer sources with the exact same normalization the per-attribute normalized: true flag used to provide — so texel values are bit-identical to what the interleaved-attribute uploads produced.

    widenToFloat32