UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

36 lines (35 loc) 1.08 kB
import type { Scene } from "../../../scene.js"; import type { ISceneComponent } from "../../../sceneComponent.js"; /** * Defines the Procedural Texture scene component responsible to manage any Procedural Texture * in a given scene. */ export declare class ProceduralTextureSceneComponent implements ISceneComponent { /** * The component name helpful to identify the component in the list of scene components. */ readonly name = "ProceduralTexture"; /** * The scene the component belongs to. */ scene: Scene; /** * Creates a new instance of the component for the given scene * @param scene Defines the scene to register the component in */ constructor(scene: Scene); /** * Registers the component in a given scene */ register(): void; /** * Rebuilds the elements related to this component in case of * context lost for instance. */ rebuild(): void; /** * Disposes the component and the associated resources. */ dispose(): void; private _beforeClear; }