Function UploadRadianceLevelsAsync
-
UploadRadianceLevelsAsync(
texture: InternalTexture,
imageData: ArrayBufferView<ArrayBufferLike>[][],
imageType?: string,
): Promise<void>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
- texture: InternalTexture
Uploads the levels of image data to the GPU.