import { type Nullable } from "@babylonjs/core/types.js"; import { type Material } from "@babylonjs/core/Materials/material.js"; import { type IMaterial } from "../glTFLoaderInterfaces.js"; import { type IGLTFLoaderExtension } from "../glTFLoaderExtension.js"; import { GLTFLoader } from "../glTFLoader.pure.js"; /** * [Specification](https://github.com/KhronosGroup/glTF/blob/b102d2d2b40d44a8776800bb2bf85e218853c17d/extensions/2.0/Khronos/KHR_materials_diffuse_roughness/README.md) * @experimental */ export declare class KHR_materials_diffuse_roughness implements IGLTFLoaderExtension { /** * The name of this extension. */ readonly name = "KHR_materials_diffuse_roughness"; /** * Defines whether this extension is enabled. */ enabled: boolean; /** * Defines a number that determines the order the extensions are applied. */ order: number; private _loader; /** * @internal */ constructor(loader: GLTFLoader); /** @internal */ dispose(): void; /** * @internal */ loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: Material): Nullable>; private _loadDiffuseRoughnessPropertiesAsync; } /** * Registers the KHR_materials_diffuse_roughness glTF loader extension. * Safe to call multiple times; only the first call has an effect. */ export declare function RegisterKHR_materials_diffuse_roughness(): void;