1 | import { Material } from "../materials/Material.js";
|
2 | import { Texture } from "../textures/Texture.js";
|
3 | import { Loader } from "./Loader.js";
|
4 | import { LoadingManager } from "./LoadingManager.js";
|
5 |
|
6 | export class MaterialLoader extends Loader<Material> {
|
7 | |
8 |
|
9 |
|
10 | textures: { [key: string]: Texture };
|
11 |
|
12 | constructor(manager?: LoadingManager);
|
13 |
|
14 | parse(json: unknown): Material;
|
15 |
|
16 | setTextures(textures: { [key: string]: Texture }): this;
|
17 |
|
18 | createMaterialFromType(type: string): Material;
|
19 |
|
20 | static createMaterialFromType(type: string): Material;
|
21 | }
|