phaser/src/renderer/webgl/events/RENDER_EVENT.js

21 lines
613 B
JavaScript
Raw Normal View History

2020-11-17 14:08:23 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Render Event.
*
* This event is dispatched by the WebGL Renderer for every camera in every Scene.
*
* It is dispatched before any of the children in the Scene have been rendered.
*
* @event Phaser.Renderer.WebGL.Events#RENDER
* @since 3.50.0
*
* @param {Phaser.Scene} scene - The Scene being rendered.
* @param {Phaser.Cameras.Scene2D.Camera} camera - The Scene Camera being rendered.
*/
module.exports = 'render';