function uploadImageTexture(gl, texture, image, interpolate) {
  bindAndConfigure(gl, texture, interpolate);

  gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image);
}
@param {WebGLRenderingContext} gl The WebGL context.
@param {WebGLTexture} texture The texture.
@param {import("../DataTile.js").ImageLike} image The image.
@param {boolean} interpolate Interpolate when resampling.