phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
21 lines (19 loc) • 670 B
JavaScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Camera Post-Render Event.
*
* This event is dispatched by a Camera instance after is has finished rendering.
* It is only dispatched if the Camera is rendering to a texture.
*
* Listen to it from a Camera instance using: `camera.on('postrender', listener)`.
*
* @event Phaser.Cameras.Scene2D.Events#POST_RENDER
* @since 3.0.0
*
* @param {Phaser.Cameras.Scene2D.BaseCamera} camera - The camera that has finished rendering to a texture.
*/
module.exports = 'postrender';