mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 12:03:36 +00:00
32 lines
747 B
JavaScript
32 lines
747 B
JavaScript
/**
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
* @copyright 2013-2023 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;
|