import IGLTFMaterialInstanciator from "./IGLTFMaterialInstanciator"; import GLTFMaterial from "../Schema/GLTFMaterial"; import Texture2D from "grimoirejs-fundamental/ref/Resource/Texture2D"; import GLTF from "../Schema/GLTF"; import Parser from "../Parser"; import Material from "grimoirejs-fundamental/ref/Material/Material"; import GLRelatedRegistryBase from "grimoirejs-fundamental/ref/Resource/GLRelatedRegistryBase"; export default class GLTFMaterialInstanciatorRegistry extends GLRelatedRegistryBase { gl: WebGLRenderingContext; static instanciators: IGLTFMaterialInstanciator[]; static registryName: string; static get(gl: WebGLRenderingContext): GLTFMaterialInstanciatorRegistry; constructor(gl: WebGLRenderingContext); getInstanciator(materialData: GLTFMaterial, textures: { [key: string]: Texture2D; }, gltfData: GLTF, parser: Parser): Promise; }