Skip to content

UWAL / TextureUtils

Functions

TextureUtils()

ts
function TextureUtils(Renderer?): Promise<Texture & () => Texture>;

Returns a promise of the Texture class.

Parameters

ParameterTypeDescription
Renderer?RenderStageRenderer instance required in some Texture methods

Returns

Promise<Texture & () => Texture>

Example

ts
const Texture = new (await UWAL.TextureUtils());

See

Texture class for method reference.

Released under the MIT License.