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

      • ctx: WasmCtx
      • params: {
            data: Uint8Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike>;
            kind: PerChannelKind;
            colLo: Float64Array;
            colHi: Float64Array;
            zeroLevel: boolean;
            colOffset: number;
            bits: 8 | 16;
        }
        • data: Uint8Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike>
        • kind: PerChannelKind
        • colLo: Float64Array

          Per-column companded-domain scales (f64, straight from the attrs).

        • colHi: Float64Array
        • zeroLevel: boolean

          Reserved-zero layout flag (log/signed-log only; ignored for linear).

        • colOffset: number

          Column phase of the first element (flatStart % cols).

        • bits: 8 | 16

          Quantization bits from the encoding attrs (authoritative over dtype).

      Returns Promise<Float32Array<ArrayBufferLike>>