phaser/src/renderer/webgl/index.js
2024-02-19 17:12:24 +00:00

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;