Parses a KTX format Compressed Texture file and generates texture data suitable for WebGL from it.
name | type | description |
---|---|---|
data | ArrayBuffer |
The data object created by the Compressed Texture File Loader. |
The Compressed Texture data.
Parses a PVR format Compressed Texture file and generates texture data suitable for WebGL from it.
name | type | description |
---|---|---|
data | ArrayBuffer |
The data object created by the Compressed Texture File Loader. |
The Compressed Texture data.
Verify whether the given compressed texture data is valid.
Compare the dimensions of each mip layer to the rules for that specific format.
Mip layer size is assumed to have been calculated correctly during parsing.
name | type | description |
---|---|---|
data | Phaser.Types.Textures.CompressedTextureData |
The compressed texture data to verify. |
Whether the compressed texture data is valid.