phaser/src/renderer/index.js
2018-06-27 15:27:16 +01:00

28 lines
737 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* @typedef {object} RendererConfig
*
* @property {boolean} clearBeforeRender - [description]
* @property {boolean} antialias - [description]
* @property {Phaser.Display.Color} backgroundColor - [description]
* @property {number} resolution - [description]
* @property {boolean} autoResize - [description]
* @property {boolean} roundPixels - [description]
*/
/**
* @namespace Phaser.Renderer
*/
module.exports = {
Canvas: require('./canvas'),
Snapshot: require('./snapshot'),
WebGL: require('./webgl')
};