Sets one, or more, Post Pipelines on this Game Object.
Post Pipelines are invoked after this Game Object has rendered to its target and are commonly used for post-fx.
The post pipelines are appended to the
postPipelines array belonging to this
Game Object. When the renderer processes this Game Object, it iterates through the post
pipelines in the order in which they appear in the array. If you are stacking together
multiple effects, be aware that the order is important.
If you call this method multiple times, the new pipelines will be appended to any existing
post pipelines already set. Use the
resetPostPipeline method to clear them first, if required.
You can optionally also sets the
pipelineData property, if the parameter is given.
Both the pipeline and post pipelines share the pipeline data object together.
|string | Array.<string> | function | Array.<function()> | Phaser.Renderer.WebGL.Pipelines.PostFXPipeline | Array.<Phaser.Renderer.WebGL.Pipelines.PostFXPipeline>
Either the string-based name of the pipeline, or a pipeline instance, or class, or an array of them.
Optional pipeline data object that is deep copied into the
Should the pipeline data object be deep copied into the
This Game Object instance.