Implements
- {PIXI.ILoaderPlugin}
Members
If set to true
, PIXI.KTXLoader will parse key-value data in KTX textures. This feature relies
on the Encoding Standard.
The key-value data will be available on the base-textures as PIXI.BaseTexture.ktxKeyValueData
. They
will hold a reference to the texture data buffer, so make sure to delete key-value data once you are done
using it.
- Default Value:
- false
Methods
Called after a KTX file is loaded.
This will parse the KTX file header and add a BaseTexture
to the texture
cache.
Name | Type | Description |
---|---|---|
resource |
PIXI.LoaderResource |
loader resource that is checked to see if it is a KTX file |
next |
(...args: any[]) => void |
callback Function to call when done |
- See:
-
- PIXI.Loader.loaderMiddleware