cannot be changed once set. */
void storage(PixelFormat, unsigned size, unsigned lv = 0);
+ virtual void image(unsigned, const void *);
+
/** Replaces contents of a single face. Allocated storage must exist. The
image data is interpreted according to the storage format and must have size
matching the selected mipmap level. */
/** Replaces a rectangular region of a face. Allocated storage must exist.
The image data is interpreted according to the storage format and the region
must be fully inside the face. */
- void sub_image(TextureCubeFace, unsigned level, int x, int y, unsigned w, unsigned h, const void *);
+ void sub_image(TextureCubeFace, unsigned level, unsigned x, unsigned y, unsigned w, unsigned h, const void *);
void image(TextureCubeFace, const Graphics::Image &);