- /** Uploads an image to the texture. Storage must be defined beforehand.
- The image data must have dimensions and format compatible with the defined
- storage. */
- void image(unsigned level, PixelFormat fmt, DataType type, const void *data);
+ /** Updates the contents of the entire texture. Storage must be defined
+ beforehand. The image data must have dimensions and format matching the
+ defined storage. */
+ virtual void image(unsigned level, const void *data);
+
+ DEPRECATED void image(unsigned level, PixelComponents fmt, DataType type, const void *data);