/** Uploads an image to the texture. If storage has not been defined, it
will be set to match the image. Otherwise the image must be compatible
with the defined storage. Semantics depend on the type of texture.
If srgb is true and storage is determined by this call, then an sRGB pixel
format will be used. */
/** Uploads an image to the texture. If storage has not been defined, it
will be set to match the image. Otherwise the image must be compatible
with the defined storage. Semantics depend on the type of texture.
If srgb is true and storage is determined by this call, then an sRGB pixel
format will be used. */