Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Convert an array of half-float values (encoded as Uint16) into Float32 values via THREE.DataUtils.fromHalfFloat.

      Used after gl.readPixels against a HalfFloat render target — WebGL gives us the raw 16-bit-encoded values; the rest of the HDR pipeline (EXR encoding, downstream math) wants Float32.

      Parameters

      • halfData: Uint16Array

        Source half-float-encoded buffer (Uint16Array view).

      Returns Float32Array

      Float32Array of the same length with decoded values.