This method is called every time the Pipeline Manager makes this pipeline the currently active one.
It binds the resources and shader needed for this pipeline, including setting the vertex buffer and attribute pointers.
name | type | arguments | description |
---|---|---|---|
currentShader | Phaser.Renderer.WebGL.WebGLShader | <optional> |
The shader to set as being current. |
This WebGLPipeline instance.