mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
23 lines
450 B
TypeScript
23 lines
450 B
TypeScript
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;
|
|
|
|
}
|