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