Sets the current pipeline to be used by the
This method accepts a pipeline instance as its parameter, not the name.
If the pipeline isn't already the current one it will call
WebGLPipeline.bind and then
You cannot set Post FX Pipelines using this method. To use a Post FX Pipeline, you should apply it to either a Camera, Container or other supporting Game Object.
The pipeline instance to be set as current.
The Game Object that invoked this pipeline, if any.
The shader to set as being current.
The pipeline that was set, or undefined if it couldn't be set.