Capítulo 177 de 859
A loader for the KTX texture compression format.
References:
const loader = new KTXLoader();
const map = loader.load( 'textures/compressed/lensflare_ASTC8x8.ktx' )
map.colorSpace = THREE.SRGBColorSpace; // only for color textures
Constructor
| Signature |
|---|
new KTXLoader( manager : LoadingManager ) |
Methods
| Method | Description |
|---|---|
.parse( buffer : ArrayBuffer, loadMipmaps : boolean ) : CompressedTextureLoader~TexData | Parses the given KTX texture data. |