Initial project import
This commit is contained in:
16
node_modules/three-stdlib/loaders/KTXLoader.d.ts
generated
vendored
Normal file
16
node_modules/three-stdlib/loaders/KTXLoader.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { LoadingManager, CompressedTextureLoader, PixelFormat, CompressedPixelFormat } from 'three'
|
||||
|
||||
export interface KTX {
|
||||
mipmaps: object[]
|
||||
width: number
|
||||
height: number
|
||||
format: PixelFormat | CompressedPixelFormat
|
||||
mipmapCount: number
|
||||
isCubemap: boolean
|
||||
}
|
||||
|
||||
export class KTXLoader extends CompressedTextureLoader {
|
||||
constructor(manager?: LoadingManager)
|
||||
|
||||
parse(buffer: ArrayBuffer, loadMipmaps: boolean): KTX
|
||||
}
|
||||
Reference in New Issue
Block a user