Class PostProcessRenderEffect
Hierarchy
- PostProcessRenderEffect
Index
Constructors
constructor
-
Instantiates a post process render effect. A post process can be used to apply a shader to a texture after it is rendered.
Parameters
-
engine: Engine
The engine the effect is tied to
-
name: string
The name of the effect
-
getPostProcesses: () => Nullable<PostProcess | Array<PostProcess>>
A function that returns a set of post processes which the effect will run in order to be run.
-
-
Returns Nullable<PostProcess | Array<PostProcess>>
-
-
-
Optional singleInstance: boolean
False if this post process can be run on multiple cameras. (default: true)
Returns PostProcessRenderEffect
-
Accessors
is Supported
-
Checks if all the post processes in the effect are supported.
Returns boolean
Methods
get Post ProcessesSearch playground for getPostProcesses
-
Gets a list of the post processes contained in the effect.
Parameters
-
Optional camera: Camera
The camera to get the post processes on.
Returns Nullable<Array<PostProcess>>
The list of the post processes in the effect.
-
This represents a set of one or more post processes in Babylon. A post process can be used to apply a shader to a texture after it is rendered.
https://doc.babylonjs.com/how_to/how_to_use_postprocessrenderpipeline