Phaser API Documentation

  Version: 
postBatch(gameObject)

Description:

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 causes a batch flush, then calls the postBatch method on the post-fx pipelines belonging to the Game Object.

Parameters:

name type description
gameObject Phaser.GameObjects.GameObject

The Game Object that was just added to the batch.

Since: 3.50.0