shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$gpu$texture$uploaders$gpuUploadCubeTextureResource = function(global, require, module, exports) {
  const FACE_ORDER = "right left top bottom front back".split(" ");
  exports.createGpuUploadCubeTextureResource = function(uploaders) {
    return {type:"cube", upload(source, gpuTexture, gpu) {
      source = source.faces;
      for (let i = 0; i < FACE_ORDER.length; i++) {
        const face = source[FACE_ORDER[i]];
        (uploaders[face.uploadMethodId] || uploaders.image).upload(face, gpuTexture, gpu, i);
      }
    }};
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$gpu$texture$uploaders$gpuUploadCubeTextureResource.js.map
