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