UNPKG

960 BTypeScriptView Raw
1import { Nullable } from "@babylonjs/core/types";
2import { IScene } from "../glTFLoaderInterfaces";
3import { IGLTFLoaderExtension } from "../glTFLoaderExtension";
4import { GLTFLoader } from "../glTFLoader";
5/**
6 * [Specification](https://github.com/KhronosGroup/glTF/blob/eb3e32332042e04691a5f35103f8c261e50d8f1e/extensions/2.0/Khronos/EXT_lights_image_based/README.md) (Experimental)
7 */
8export declare class EXT_lights_image_based implements IGLTFLoaderExtension {
9 /** The name of this extension. */
10 readonly name = "EXT_lights_image_based";
11 /** Defines whether this extension is enabled. */
12 enabled: boolean;
13 private _loader;
14 private _lights?;
15 /** @hidden */
16 constructor(loader: GLTFLoader);
17 /** @hidden */
18 dispose(): void;
19 /** @hidden */
20 onLoading(): void;
21 /** @hidden */
22 loadSceneAsync(context: string, scene: IScene): Nullable<Promise<void>>;
23 private _loadLightAsync;
24}