2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2018 Photon Storm Ltd.
|
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
2018-03-21 13:41:17 +00:00
|
|
|
/**
|
|
|
|
* @typedef {object} RendererConfig
|
|
|
|
*
|
|
|
|
* @property {boolean} clearBeforeRender - [description]
|
2018-06-27 14:27:16 +00:00
|
|
|
* @property {boolean} antialias - [description]
|
2018-03-21 13:41:17 +00:00
|
|
|
* @property {Phaser.Display.Color} backgroundColor - [description]
|
|
|
|
* @property {number} resolution - [description]
|
|
|
|
* @property {boolean} autoResize - [description]
|
|
|
|
* @property {boolean} roundPixels - [description]
|
|
|
|
*/
|
|
|
|
|
2018-02-09 13:46:04 +00:00
|
|
|
/**
|
|
|
|
* @namespace Phaser.Renderer
|
|
|
|
*/
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
Canvas: require('./canvas'),
|
|
|
|
Snapshot: require('./snapshot'),
|
|
|
|
WebGL: require('./webgl')
|
|
|
|
|
|
|
|
};
|