Implements
Methods
Parses the KTX file header, generates base-textures, and puts them into the texture
cache.
Name |
Type |
Description |
url |
string
|
|
arrayBuffer |
ArrayBuffer
|
|
Returns:
PIXI.KTXLoader.use
(resource, next) void
static
Called after a KTX file is loaded.
This will parse the KTX file header and add a {@code BaseTexture} to the texture
cache.
- See:
-
PIXI.KTXLoader.validate
(url, dataView) boolean
static
Checks whether the arrayBuffer contains a valid *.ktx file.
Name |
Type |
Description |
url |
string
|
|
dataView |
DataView
|
|
Returns: