shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$GlColorMaskSystem = function(global, require, module, exports) {
  global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions");
  "use strict";
  class GlColorMaskSystem {
    constructor(renderer) {
      this._colorMaskCache = 15;
      this._renderer = renderer;
    }
    setMask(colorMask) {
      this._colorMaskCache !== colorMask && (this._colorMaskCache = colorMask, this._renderer.gl.colorMask(!!(colorMask & 8), !!(colorMask & 4), !!(colorMask & 2), !!(colorMask & 1)));
    }
  }
  GlColorMaskSystem.extension = {type:[global.ExtensionType.WebGLSystem], name:"colorMask"};
  exports.GlColorMaskSystem = GlColorMaskSystem;
};

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