This callback is invoked when this Game Object is rendered by a PreFX Pipeline.
This happens when the pipeline uses its drawSprite
method.
It's invoked prior to the draw, allowing you to set shader uniforms, etc on the pipeline.
name | type | description |
---|---|---|
pipeline | Phaser.Renderer.WebGL.Pipelines.PreFXPipeline |
The PreFX Pipeline that invoked this callback. |