2018-02-13 01:39:22 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2023-01-02 17:36:27 +00:00
|
|
|
* @copyright 2013-2023 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'),
|
2020-11-06 10:59:57 +00:00
|
|
|
RenderTarget: require('./RenderTarget'),
|
2018-02-13 01:39:22 +00:00
|
|
|
Utils: require('./Utils'),
|
|
|
|
WebGLPipeline: require('./WebGLPipeline'),
|
2020-11-06 10:59:57 +00:00
|
|
|
WebGLRenderer: require('./WebGLRenderer'),
|
|
|
|
WebGLShader: require('./WebGLShader')
|
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;
|