Import
PVRLoader is an addon, and must be imported explicitly, see Installation#Addons.
import { PVRLoader } from 'three/addons/loaders/PVRLoader.js';
Constructor
new PVRLoader( manager : LoadingManager )
Constructs a new PVR loader.
| manager |
The loading manager. |
Methods
.parse( buffer : ArrayBuffer, loadMipmaps : boolean ) : CompressedTextureLoader~TexData
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.