Phaser API Documentation

addPostPipeline(name, pipeline)


Adds a Post Pipeline to this Pipeline Manager.

Make sure to pass a base class to this method, not an instance.

For example, you should pass it like this:

this.addPostPipeline('yourName', CustomPipeline);`

and not like this:

this.addPostPipeline('yourName', new CustomPipeline());`

To add a regular pipeline, see the add method instead.


name type description
name string

A unique string-based key for the pipeline within the manager.

pipeline function

A pipeline class which must extend PostFXPipeline.


This Pipeline Manager.

Since: 3.50.0