Sets the main WebGL Pipeline of this Game Object.
Also sets the pipelineData
property, if the parameter is given.
Both the pipeline and post pipelines share the same pipeline data object.
name | type | arguments | Default | description |
---|---|---|---|---|
pipeline | string | Phaser.Renderer.WebGL.WebGLPipeline |
Either the string-based name of the pipeline, or a pipeline instance to set. |
||
pipelineData | object | <optional> |
Optional pipeline data object that is deep copied into the |
|
copyData | boolean | <optional> | true |
Should the pipeline data object be deep copied into the |
This Game Object instance.