1234567891011121314151617181920212223242526272829303132333435 |
- import type { Nullable } from "@babylonjs/core/types.js";
- import type { Material } from "@babylonjs/core/Materials/material.js";
- import type { IMaterial } from "../glTFLoaderInterfaces";
- import type { IGLTFLoaderExtension } from "../glTFLoaderExtension";
- import { GLTFLoader } from "../glTFLoader";
- /**
- * [Specification](https://github.com/KhronosGroup/glTF/blob/87bd64a7f5e23c84b6aef2e6082069583ed0ddb4/extensions/2.0/Khronos/KHR_materials_dispersion/README.md)
- * @experimental
- */
- export declare class KHR_materials_dispersion implements IGLTFLoaderExtension {
- /**
- * The name of this extension.
- */
- readonly name = "KHR_materials_dispersion";
- /**
- * 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<Promise<void>>;
- private _loadDispersionPropertiesAsync;
- }
|