Class IblCdfGeneratorSceneComponent
Implements
Constructors
constructor
-
Creates a new instance of the component for the given scene
Parameters
- scene: Scene
Defines the scene to register the component in
Returns IblCdfGeneratorSceneComponent
- scene: Scene
Properties
Readonlyname
name: "iblCDFGenerator" = SceneComponentConstants.NAME_IBLCDFGENERATOR
The component name helpful to identify the component in the list of scene components.
scene
The scene the component belongs to.
Methods
dispose
-
Disposes the component and the associated resources
Returns void
is Ready
-
Returns boolean
true once the CDF generator's procedural textures and effects are ready. Used by
Scene.isReadyso thatexecuteWhenReadywaits for the CDF maps to be generated before declaring the scene ready to render.
rebuild
-
Rebuilds the elements related to this component in case of context lost for instance.
Returns void
register
-
Registers the component in a given scene
Returns void
Defines the IBL CDF Generator scene component responsible for generating CDF maps for a given IBL.