Binds a Phaser Pointer object to this Shader.
The screen position of the pointer will be set in to the shaders mouse
uniform
automatically every frame. Call this method with no arguments to unbind the pointer.
name | type | arguments | description |
---|---|---|---|
pointer | Phaser.Input.Pointer | <optional> |
The Pointer to bind to this shader. |
This Shader instance.