Function WhenTextureReadyAsync
-
Parameters
- texture: BaseTexture
the texture to wait for
Optionalsignal: AbortSignaloptional signal to abort the readiness wait
Returns Promise<void>
a promise that resolves when the texture is ready
- texture: BaseTexture
Waits for when the given texture is ready to be used (downloaded, converted, mip mapped...)