Constructs a new outline effect.
The main scene.
The main camera.
The options.
The blend mode of this effect.
A blur pass.
Preprocessor macro definitions.
Call Effect.setChanged after changing macro definitions.
WebGL extensions that are required by this effect.
Call Effect.setChanged after adding or removing extensions.
The name of this effect.
The pulse speed. Set to 0 to disable.
The renderer.
A selection of objects that will be outlined.
The default layer of this selection is 10.
Shader uniforms.
Call Effect.setChanged after adding or removing uniforms.
Indicates whether the outlines should be blurred.
Indicates whether dithering is enabled.
The edge strength.
The current height of the internal render targets.
The hidden edge color.
The input color space.
The input color space.
The blur kernel size.
Sets the main camera.
Sets the main scene.
The amount of MSAA samples.
Requires WebGL 2. Set to zero to disable multisampling.
The amount of MSAA samples.
Requires WebGL 2. Set to zero to disable multisampling.
The output color space.
Should only be changed if this effect converts the input colors to a different color space.
The output color space.
Should only be changed if this effect converts the input colors to a different color space.
The pattern scale.
The pattern texture. Set to null
to disable.
The resolution of this effect.
The selection layer.
The visible edge color.
The current width of the internal render targets.
Indicates whether X-ray mode is enabled.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Clears the list of selected objects.
This pass.
Deselects an object.
The object that should no longer be outlined.
This pass.
Fire an event type.
The event that gets fired.
Performs a shallow search for properties that define a dispose method and deletes them.
The EffectComposer calls this method when it is being destroyed.
Returns the effect attributes.
The attributes.
Returns the blend mode.
The result of this effect will be blended with the result of the previous effect using this blend mode.
The blend mode.
Returns the blur pass.
The blur pass.
Returns the preprocessor macro definitions.
The extensions.
Returns the WebGL extensions that are required by this effect.
The extensions.
Returns the fragment shader.
The fragment shader.
Returns the name of this effect.
The name.
Returns the pulse speed.
The speed.
Returns the resolution.
The resolution.
Returns the current resolution scale.
The resolution scale.
Returns the selection.
The selection.
Returns the uniforms of this effect.
The extensions.
Returns the vertex shader.
The vertex shader.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Performs initialization tasks.
The renderer.
Whether the renderer uses the alpha channel or not.
The type of the main frame buffers.
Indicates whether X-ray mode is enabled.
Whether X-ray mode is enabled.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Selects an object.
The object that should be outlined.
This pass.
Sets the effect attributes.
Effects that have the same attributes will be executed in the order in which they were registered. Some attributes imply a higher priority.
The attributes.
Informs the associated {@link EffectPass} that this effect requires a shader recompilation.
Should be called after changing macros or extensions and after adding/removing uniforms.
Sets the depth texture.
You may override this method if your effect requires direct access to the depth texture that is bound to the associated {@link EffectPass}.
A depth texture.
Sets the fragment shader.
The fragment shader.
Sets the pattern texture.
The new texture.
Sets the pulse speed. Set to zero to disable.
The speed.
Sets the renderer.
The renderer.
Sets the resolution scale.
The new resolution scale.
Clears the current selection and selects a list of objects.
The objects that should be outlined. This array will be copied.
This pass.
Updates the size of internal render targets.
The width.
The height.
Sets the vertex shader.
The vertex shader.
Enables or disables X-ray outlines.
Whether X-ray should be enabled.
Updates this effect.
The renderer.
A frame buffer that contains the result of the previous pass.
An outline effect.