shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$shader$program$getUniformData = function(global, require, module, exports) {
  var defaultValue = require("module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$shader$program$defaultValue"), mapType = require("module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$shader$program$mapType");
  "use strict";
  exports.getUniformData = function(program, gl) {
    const uniforms = {}, totalUniforms = gl.getProgramParameter(program, gl.ACTIVE_UNIFORMS);
    for (let i = 0; i < totalUniforms; i++) {
      const uniformData = gl.getActiveUniform(program, i), name = uniformData.name.replace(/\[.*?\]$/, ""), isArray = !!uniformData.name.match(/\[.*?\]$/), type = mapType.mapType(gl, uniformData.type);
      uniforms[name] = {name, index:i, type, size:uniformData.size, isArray, value:defaultValue.defaultValue(type, uniformData.size)};
    }
    return uniforms;
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$shader$program$getUniformData.js.map
