shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$GlLimitsSystem = function(global, require, module, exports) {
  global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions");
  var checkMaxIfStatementsInShader = require("module$node_modules$pixi_DOT_js$lib$rendering$batcher$gl$utils$checkMaxIfStatementsInShader");
  "use strict";
  class GlLimitsSystem {
    constructor(renderer) {
      this._renderer = renderer;
    }
    contextChange() {
      const gl = this._renderer.gl;
      this.maxTextures = gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS);
      this.maxBatchableTextures = checkMaxIfStatementsInShader.checkMaxIfStatementsInShader(this.maxTextures, gl);
      this.maxUniformBindings = 2 === this._renderer.context.webGLVersion ? gl.getParameter(gl.MAX_UNIFORM_BUFFER_BINDINGS) : 0;
    }
    destroy() {
    }
  }
  GlLimitsSystem.extension = {type:[global.ExtensionType.WebGLSystem], name:"limits"};
  exports.GlLimitsSystem = GlLimitsSystem;
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$GlLimitsSystem.js.map
