Phaser API Documentation



By default this is an empty method hook that you can override and use in your own custom pipelines.

This method is called immediately after this pipeline has finished flushing its batch.

It is called after the gl.drawArrays call.

You can perform additional post-render effects, but be careful not to call flush on this pipeline from within this method, or you'll cause an infinite loop.

To apply changes pre-render, see onBeforeFlush.


name type arguments Default description
isPostFlush boolean <optional> false

Was this flush invoked as part of a post-process, or not?

Since: 3.50.0