Checks to see if the given pipeline is already the active pipeline, both within this Pipeline Manager and also has the same shader set in the Renderer.
name | type | arguments | description |
---|---|---|---|
pipeline | Phaser.Renderer.WebGL.WebGLPipeline |
The pipeline instance to be checked. |
|
currentShader | Phaser.Renderer.WebGL.WebGLShader | <optional> |
The shader to set as being current. |
true
if the given pipeline is already the current pipeline, otherwise false
.