API

Function UploadRadianceLevelsAsync

  • Uploads the levels of image data to the GPU.

    Parameters

    • texture: InternalTexture

      defines the internal texture to upload to

    • imageData: ArrayBufferView<ArrayBufferLike>[][]

      defines the array buffer views of image data [mipmap][face]

    • imageType: string = DefaultEnvironmentTextureImageType

      the mime type of the image data

    Returns Promise<void>

    a promise