This method is called by the WebGLPipeline.batchQuad
method, right after a quad
belonging to a Game Object has been added to the batch.
It is also called directly bu custom Game Objects, such as Nine Slice or Mesh, from their render methods.
It causes a batch flush, then calls the postBatch
method on the Post FX Pipelines
belonging to the Game Object.
It should be preceeded by a call to preBatch
to start the process.
name | type | description |
---|---|---|
gameObject | Phaser.GameObjects.GameObject |
The Game Object that was just added to the batch. |