API

Function ReadExrDataAsync

  • Read the EXR data from an ArrayBufferView asynchronously.

    Parameters

    • data: ArrayBuffer

      ArrayBufferView containing the EXR data

    Returns Promise<
        {
            data: Nullable<Float32Array<ArrayBufferLike>>;
            height: number;
            width: number;
        },
    >

    An object containing the width, height, and data of the EXR texture.