Sets the currently active shader within this pipeline.
name | type | arguments | Default | description |
---|---|---|---|---|
shader | Phaser.Renderer.WebGL.WebGLShader |
The shader to set as being current. |
||
setAttributes | boolean | <optional> | false |
Should the vertex attribute pointers be set? |
This WebGLPipeline instance.