Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Widen a Uint8Array / Uint16Array / Float16Array source to a Float32Array.

      When divisor is supplied (e.g. 255 for normalized uint8), the widened floats are divided by that divisor — preserves the shader-facing [0, 1] range previously achieved via per-attribute normalized: true.

      Parameters

      • src: ArrayLike<number>
      • Optionaldivisor: number

      Returns Float32Array