Phaser API Documentation

  Version: 
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Event: AFTER_FLUSH
Phaser.Renderer.WebGL.Pipelines.Events.AFTER_FLUSH
AFTER_FLUSH

Description:

The WebGLPipeline After Flush Event.

This event is dispatched by a WebGLPipeline right after it has issued a drawArrays command and cleared its vertex count.

Parameters:

name type description
pipeline Phaser.Renderer.WebGL.WebGLPipeline

The pipeline that has flushed.

isPostFlush boolean

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