Phaser API Documentation

  Version: 
flush([isPostFlush])

Description:

Uploads the vertex data and emits a draw call for the current batch of vertices.

Parameters:

name type arguments Default description
isPostFlush boolean <optional> false

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

Returns:
Description:

This WebGLPipeline instance.

Since: 3.0.0