Sets the main WebGL Pipeline of this Game Object.
Also sets the pipelineData
property, if the parameter is given.
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 set in to the |
|
copyData | boolean | <optional> | true |
Should the pipeline data object be deep copied into the |
This Game Object instance.