The effect layer Helps adding post process effect blended with the main pass.
This can be for instance use to generate glow or higlight effects on the scene.
The effect layer class can not be used directly and is intented to inherited from to be customized per effects.
Gets the camera attached to the layer.
Specifies wether the highlight layer is enabled or not.
The name of the layer
The clear color of the texture used to generate the glow map.
An event triggered when the generated texture has been merged in the scene.
An event triggered when the generated texture is being merged in the scene.
An event triggered when the effect layer is about rendering the main texture with the glowy parts.
An event triggered when the effect layer has been disposed.
An event triggered when the efffect layer changes its size.
Gets the rendering group id the layer should render in.
Dispose the highlight layer and free resources.
Free any resources and references associated to a mesh. Internal use
The mesh to free.
Gets the class name of the effect layer
the string with the class name of the effect layer
Get the effect name of the layer.
The effect name
Determine if a given mesh will be used in the current effect.
mesh to test
true if the mesh will be used
Checks for the readiness of the element composing the layer.
the mesh to check for
specify wether or not to use instances to render the mesh
true if ready otherwise, false
Returns wether or nood the layer needs stencil enabled during the mesh rendering.
true if the effect requires stencil during the main canvas render pass.
Renders the glowing part of the scene by blending the blurred glowing meshes on top of the rendered scene.
Serializes this layer (Glow or Highlight for example)
a serialized layer object
Returns true if the layer contains information to display, otherwise false.
true if the glow layer should be rendered
Generated using TypeDoc