phaser/src/renderer/webgl/index.js
2020-11-06 10:59:57 +00:00

32 lines
742 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var WEBGL_CONST = require('./const');
var Extend = require('../../utils/object/Extend');
/**
* @namespace Phaser.Renderer.WebGL
*/
var WebGL = {
PipelineManager: require('./PipelineManager'),
Pipelines: require('./pipelines'),
RenderTarget: require('./RenderTarget'),
Utils: require('./Utils'),
WebGLPipeline: require('./WebGLPipeline'),
WebGLRenderer: require('./WebGLRenderer'),
WebGLShader: require('./WebGLShader')
};
// Merge in the consts
WebGL = Extend(false, WebGL, WEBGL_CONST);
// Export it
module.exports = WebGL;