LogoPixi’VN
pixi-jsVariables

Variable: loadDDS

> const loadDDS: object

Defined in: node_modules/pixi.js/lib/compressed-textures/dds/loadDDS.d.ts:11

Loads DDS textures.

Type Declaration

extension

> extension: object

extension.name

> name: string

extension.priority

> priority: LoaderParserPriority

extension.type

> type: LoadParser

id

> id: string

name

> name: string

used for deprecation purposes

load()

> load<T>(url, asset, loader): Promise<Texture<TextureSource<any>> | Texture<TextureSource<any>>[]>

Type Parameters

T

T

Parameters

url

string

asset

ResolvedAsset

loader

Loader

Returns

Promise<Texture<TextureSource<any>> | Texture<TextureSource<any>>[]>

test()

> test(url): boolean

Parameters

url

string

Returns

boolean

unload()

> unload(texture): void

Parameters

texture

Texture<TextureSource<any>> | Texture<TextureSource<any>>[]

Returns

void

Advanced