diff --git a/types/three/examples/jsm/loaders/KTX2Loader.d.ts b/types/three/examples/jsm/loaders/KTX2Loader.d.ts index 238e4845f..d2d076400 100644 --- a/types/three/examples/jsm/loaders/KTX2Loader.d.ts +++ b/types/three/examples/jsm/loaders/KTX2Loader.d.ts @@ -1,17 +1,11 @@ -import { LoadingManager, CompressedTextureLoader, CompressedTexture, WebGLRenderer } from '../../../src/Three.js'; +import { LoadingManager, Loader, CompressedTexture, WebGLRenderer } from '../../../src/Three.js'; import WebGPURenderer from '../renderers/webgpu/WebGPURenderer.js'; -export class KTX2Loader extends CompressedTextureLoader { +export class KTX2Loader extends Loader { constructor(manager?: LoadingManager); setTranscoderPath(path: string): KTX2Loader; setWorkerLimit(limit: number): KTX2Loader; detectSupport(renderer: WebGLRenderer | WebGPURenderer): KTX2Loader; dispose(): KTX2Loader; - - parse( - buffer: ArrayBuffer, - onLoad: (texture: CompressedTexture) => void, - onError?: (event: ErrorEvent) => void, - ): KTX2Loader; }