phaser/src/gameobjects/particles/ParticleManagerRender.js

20 lines
356 B
JavaScript
Raw Normal View History

var renderWebGL = require('../../utils/NOOP');
var renderCanvas = require('../../utils/NOOP');
if (WEBGL_RENDERER)
{
renderWebGL = require('./ParticleManagerWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./ParticleManagerCanvasRenderer');
}
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
};