Phaser API Documentation

preRenderCanvas(renderer, mask, camera)


This is a NOOP method. Bitmap Masks are not supported by the Canvas Renderer.


name type description
renderer Phaser.Renderer.Canvas.CanvasRenderer | Phaser.Renderer.WebGL.WebGLRenderer

The Canvas Renderer which would be rendered to.

mask Phaser.GameObjects.GameObject

The masked Game Object which would be rendered.

camera Phaser.Cameras.Scene2D.Camera

The Camera to render to.

Since: 3.0.0