Function CreateEnvTextureAsync
-
CreateEnvTextureAsync(
texture: BaseTexture,
options?: CreateEnvTextureOptions,
): Promise<ArrayBuffer>Parameters
- texture: BaseTexture
defines the cube texture to convert in env file
- options: CreateEnvTextureOptions = {}
options for the conversion process
Returns Promise<ArrayBuffer>
a promise containing the environment data if successful.
- texture: BaseTexture
Creates an environment texture from a loaded cube texture.