phaser/src/renderer/webgl/index.js
2023-01-02 17:36:27 +00:00

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;