UNPKG

486 BTypeScriptView Raw
1import { CompressedTexture } from "../textures/CompressedTexture.js";
2import { Loader } from "./Loader.js";
3import { LoadingManager } from "./LoadingManager.js";
4
5export class CompressedTextureLoader extends Loader<CompressedTexture> {
6 constructor(manager?: LoadingManager);
7
8 load(
9 url: string,
10 onLoad?: (data: CompressedTexture) => void,
11 onProgress?: (event: ProgressEvent) => void,
12 onError?: (err: unknown) => void,
13 ): CompressedTexture;
14}