UNPKG

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