UWAL / TextureUtils
Functions
TextureUtils()
ts
function TextureUtils(Renderer?): Promise<Texture & () => Texture>;Parameters
| Parameter | Type | Description |
|---|---|---|
Renderer? | RenderStage | Renderer instance required in some methods. |
Returns
Promise<Texture & () => Texture>
A promise of the Texture class.
See
Texture class for method reference.
Example
ts
const Texture = new (await UWAL.TextureUtils());