@babylonjs/loaders
Version:
For usage documentation please visit https://doc.babylonjs.com/features/featuresDeepDive/importers/loadingFileTypes/.
14 lines (13 loc) • 557 B
TypeScript
import { GLTFLoaderExtension } from "./glTFLoader";
import type { IGLTFRuntime } from "./glTFLoaderInterfaces";
import { Material } from "@babylonjs/core/Materials/material.js";
/**
* @internal
* @deprecated
*/
export declare class GLTFMaterialsCommonExtension extends GLTFLoaderExtension {
constructor();
loadRuntimeExtensionsAsync(gltfRuntime: IGLTFRuntime): boolean;
loadMaterialAsync(gltfRuntime: IGLTFRuntime, id: string, onSuccess: (material: Material) => void, onError: (message: string) => void): boolean;
private _loadTexture;
}