Phaser API Documentation

  Version: 
addPostPipeline(name, pipeline)

Description:

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.

Parameters:

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.

Returns:
Description:

This Pipeline Manager.

Since: 3.50.0