Newer
Older
HuangJiPC / public / static / three / examples / jsm / loaders / EXRLoader.d.ts
@zhangdeliang zhangdeliang on 21 Jun 454 bytes update
import {
	LoadingManager,
	DataTextureLoader,
	TextureDataType,
	PixelFormat
} from '../../../src/Three';

export interface EXR {
	header: object;
	width: number;
	height: number;
	data: Float32Array;
	format: PixelFormat;
	type: TextureDataType;
}

export class EXRLoader extends DataTextureLoader {

	constructor( manager?: LoadingManager );
	type: TextureDataType;

	parse( buffer: ArrayBuffer ) : EXR;
	setDataType( type: TextureDataType ): this;

}