Inheritance: Loader → CompressedTextureLoader →
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
PVRLoader is an addon, and must be imported explicitly, see Installation#Addons.
import { PVRLoader } from 'three/addons/loaders/PVRLoader.js';
Constructs a new PVR loader.
manager
The loading manager.
Parses the given PVRTC texture data.
buffer
The raw texture data.
loadMipmaps
Whether to load mipmaps or not. This option is not yet supported by the loader.
Overrides: CompressedTextureLoader#parse
Returns: An object representing the parsed texture data.