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