UNPKG

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