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