The Game Pre-Render Event.
This event is dispatched immediately before any of the Scenes have started to render.
The renderer will already have been initialized this frame, clearing itself and preparing to receive the Scenes for rendering, but it won't have actually drawn anything yet.
name | type | description |
---|---|---|
renderer | Phaser.Renderer.Canvas.CanvasRenderer | Phaser.Renderer.WebGL.WebGLRenderer |
A reference to the current renderer being used by the Game instance. |