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

export interface RGBE {
	width: number;
	height: number;
	data: Float32Array | Uint8Array;
	header: string;
	gamma: number;
	exposure: number;
	format: PixelFormat;
	type: TextureDataType;
}

export class RGBELoader extends DataTextureLoader {

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

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

}