phaser/src/renderer/index.js

29 lines
736 B
JavaScript
Raw Normal View History

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}
*/
/**
* @typedef {object} RendererConfig
*
* @property {boolean} clearBeforeRender - [description]
* @property {boolean} pixelArt - [description]
* @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')
};