UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

22 lines (20 loc) 685 B
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @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 * @type {string} * @since 3.0.0 * * @param {Phaser.Cameras.Scene2D.BaseCamera} camera - The camera that has finished rendering to a texture. */ module.exports = 'postrender';