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

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

export class DDSLoader extends CompressedTextureLoader {

	constructor( manager?: LoadingManager );

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

}