import { Observable } from "../Misc/observable"; import type { Nullable } from "../types"; import type { AbstractEngine } from "./abstractEngine"; import type { Scene } from "../scene"; /** * The engine store class is responsible to hold all the instances of Engine and Scene created * during the life time of the application. */ export declare class EngineStore { /** Gets the list of created engines */ static Instances: AbstractEngine[]; /** * Notifies when an engine was disposed. * Mainly used for static/cache cleanup */ static OnEnginesDisposedObservable: Observable; /** @internal */ static _LastCreatedScene: Nullable; /** * Gets the latest created engine */ static get LastCreatedEngine(): Nullable; /** * Gets the latest created scene */ static get LastCreatedScene(): Nullable; /** * Gets or sets a global variable indicating if fallback texture must be used when a texture cannot be loaded * @ignorenaming */ static UseFallbackTexture: boolean; /** * Texture content used if a texture cannot loaded * @ignorenaming */ static FallbackTexture: string; }