mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
33 lines
779 B
JavaScript
33 lines
779 B
JavaScript
/**
|
|
* @author Richard Davey <rich@phaser.io>
|
|
* @copyright 2013-2024 Phaser Studio Inc.
|
|
* @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'),
|
|
Wrappers: require('./wrappers')
|
|
|
|
};
|
|
|
|
// Merge in the consts
|
|
|
|
WebGL = Extend(false, WebGL, WEBGL_CONST);
|
|
|
|
// Export it
|
|
|
|
module.exports = WebGL;
|