UNPKG

phaser

Version:

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

26 lines (19 loc) 564 B
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var renderWebGL = require('../../../../src/utils/NOOP'); var renderCanvas = require('../../../../src/utils/NOOP'); if (typeof WEBGL_RENDERER) { renderWebGL = require('./SpineContainerWebGLRenderer'); } if (typeof CANVAS_RENDERER) { renderCanvas = require('./SpineContainerCanvasRenderer'); } module.exports = { renderWebGL: renderWebGL, renderCanvas: renderCanvas };