Class ClusteredLightingSceneComponent
Implements
Constructors
constructor
-
Creates a new scene component.
Parameters
- scene: Scene
The scene the component belongs to
Returns ClusteredLightingSceneComponent
- scene: Scene
Properties
name
name: any = SceneComponentConstants.NAME_CLUSTEREDLIGHTING
The name of the component. Each component must have a unique name.
scene
scene: Scene
The scene the component belongs to.
Methods
dispose
-
Disposes the component and the associated resources.
Returns void
is Ready
-
Checks that enabled clustered lights have prepared their proxy shaders.
Returns boolean
true when every supported, enabled container is ready
rebuild
-
Rebuilds the elements related to this component in case of context lost for instance.
Returns void
register
-
Register the component to one instance of a scene.
Returns void
A scene component required for running the clustering step in clustered lights