Phaser API Documentation

  Version: 
preBatchCamera(camera)

Description:

Called at the start of the WebGLRenderer.preRenderCamera method.

If the Camera has post pipelines set, it will flush the batch and then call the preBatch method on the post-fx pipelines belonging to the Camera.

Parameters:

name type description
camera Phaser.Cameras.Scene2D.Camera

The Camera about to be rendered.

Examples:
Since: 3.50.0