Skip to content

UWAL / TextureUtils

Functions

TextureUtils()

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

Parameters

ParameterTypeDescription
Renderer?RenderStageRenderer 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());

Released under the MIT License.