1 | import { CompressedTexture } from "../textures/CompressedTexture.js";
|
2 | import { Loader } from "./Loader.js";
|
3 | import { LoadingManager } from "./LoadingManager.js";
|
4 |
|
5 | export 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 | }
|