Newer
Older
HuangJiPC / public / static / three / examples / jsm / loaders / PVRLoader.d.ts
@zhangdeliang zhangdeliang on 21 Jun 421 bytes update
import {
	LoadingManager,
	CompressedTextureLoader,
	CompressedPixelFormat
} from '../../../src/Three';

export interface PVR {
	mipmaps: object[];
	width: number;
	height: number;
	format: CompressedPixelFormat;
	mipmapCount: number;
	isCubemap: boolean;
}

export class PVRLoader extends CompressedTextureLoader {

	constructor( manager?: LoadingManager );

	parse( buffer: ArrayBuffer, loadMipmaps: boolean ): PVR;

}