2018-02-13 01:39:22 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2020-01-15 12:07:09 +00:00
|
|
|
* @copyright 2020 Photon Storm Ltd.
|
2019-05-10 15:15:04 +00:00
|
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
2018-02-13 01:39:22 +00:00
|
|
|
*/
|
|
|
|
|
2020-10-28 16:14:05 +00:00
|
|
|
var WEBGL_CONST = require('./const');
|
|
|
|
var Extend = require('../../utils/object/Extend');
|
|
|
|
|
2018-02-13 01:39:22 +00:00
|
|
|
/**
|
|
|
|
* @namespace Phaser.Renderer.WebGL
|
|
|
|
*/
|
|
|
|
|
2020-10-28 16:14:05 +00:00
|
|
|
var WebGL = {
|
2018-02-13 01:39:22 +00:00
|
|
|
|
2020-09-09 10:39:10 +00:00
|
|
|
PipelineManager: require('./PipelineManager'),
|
|
|
|
Pipelines: require('./pipelines'),
|
2018-02-13 01:39:22 +00:00
|
|
|
Utils: require('./Utils'),
|
|
|
|
WebGLPipeline: require('./WebGLPipeline'),
|
2020-09-09 10:39:10 +00:00
|
|
|
WebGLRenderer: require('./WebGLRenderer')
|
2018-02-13 01:39:22 +00:00
|
|
|
|
|
|
|
};
|
2020-10-28 16:14:05 +00:00
|
|
|
|
|
|
|
// Merge in the consts
|
|
|
|
|
|
|
|
WebGL = Extend(false, WebGL, WEBGL_CONST);
|
|
|
|
|
|
|
|
// Export it
|
|
|
|
|
|
|
|
module.exports = WebGL;
|