Phaser API Documentation

  Version: 
Event: BEFORE_FLUSH
Phaser.Renderer.WebGL.Pipelines.Events.BEFORE_FLUSH
BEFORE_FLUSH

Description:

The WebGLPipeline Before Flush Event.

This event is dispatched by a WebGLPipeline right before it is about to flush and issue a bufferData and drawArrays command.

Parameters:

name type description
pipeline Phaser.Renderer.WebGL.WebGLPipeline

The pipeline that is about to flush.

isPostFlush boolean

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