The animation configuration applied to this source
The object of data which configures how the source is rendered
Track the status of rendering layers
The color of the source as a RGB vector.
The polygonal shape of the point source, generated from its origin, radius, and other data.
A collection of boolean flags which control rendering and refresh behavior for the source.
PIXI Geometry generated to draw meshes.
The offset in pixels applied to create soft edges.
The type of source represented by this data structure. Each subclass must implement this attribute.
Keys of the data object which require shaders to be re-initialized.
Keys of the data object which require uniforms to be refreshed.
A convenience accessor to the background layer mesh.
A convenience accessor to the coloration layer mesh.
A convenience accessor to the illumination layer mesh.
Is the rendered source animated?
Has the rendered source at least one active layer?
Is this RenderedPointSource a temporary preview?
Returns the update ID associated with this point source. The update ID is increased whenever the source is initialized.
Is this point source currently active? Returns false if the source is disabled, temporarily suppressed, or not initialized.
Is this source currently disabled? Returns false if the source hasn't been initialized yet.
Has this point source been initialized?
The x-coordinate of the point source origin.
The y-coordinate of the point source origin.
The elevation bound to this source.
A convenience reference to the radius of the source.
Render the containers used to represent this light source within the LightingLayer
Test whether this source should be active under current conditions?
Animate the PointSource, if an animation is enabled and if it currently has rendered containers.
Delta time.
Generic time-based animation used for Rendered Point Sources.
Delta time.
Options which affect the time animation
Initialize and configure the PointSource using provided data.
Provided data for configuration
The configured source
Refresh the state and uniforms of the PointSource.
Steps that must be performed when the base source is destroyed.
Decide whether to render soft edges with a blur.
Configure the derived color attributes and associated flag.
The color to configure (usually a color coming for the rendered point source data) or null if no color is configured for this rendered source.
Specific configuration for a layer.
Initialize the blend mode and vertical sorting of this source relative to others in the container.
Update shader uniforms used for the background layer.
Update shader uniforms used for the coloration layer.
Update shader uniforms used for the illumination layer.
Configure the parameters of the polygon that is generated for this source.
Create the polygon shape for this source using configured data.
Configure which shaders are used for each rendered layer.
{{ background: AdaptiveLightingShader, coloration: AdaptiveLightingShader, illumination: AdaptiveLightingShader }}
Initialize the shaders used for this source, swapping to a different shader if the animation has changed.
Create or update the source geometry and create meshes if necessary
True if the shaders need to be initialized.
Create meshes for each layer of the RenderedPointSource that is drawn to the canvas.
Create a new Mesh for this source using a provided shader class
The shader class used for this mesh
The created Mesh
Create the geometry for the source shape that is used in shaders and compute its bounds for culling purpose. Triangulate the form and create buffers.
Create a Mesh for the background component of this source which will be added to CanvasBackgroundEffects.
The layer key in layers to draw
The drawn mesh for this layer, or null if no mesh is required
Update uniforms for all rendered layers.
Update the visible state of the component channels of this RenderedPointSource.
Create a new shader using a provider shader class
The shader class to create
The container which requires a new shader
The shader instance used
An abstract class which extends the base PointSource to provide common functionality for rendering. This class is extended by both the LightSource and VisionSource subclasses.