phaser/v3/src/gameobjects/effectlayer/EffectLayerRender.js

20 lines
348 B
JavaScript
Raw Normal View History

var renderWebGL = require('../../utils/NOOP');
var renderCanvas = require('../../utils/NOOP');
if (WEBGL_RENDERER)
{
renderWebGL = require('./EffectLayerWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./EffectLayerCanvasRenderer');
}
2017-04-07 01:49:15 +00:00
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
2017-04-07 01:49:15 +00:00
};