X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture3d.h;h=2a8f653cd04422c333a1dcb81e937978dee38fda;hp=df52bf66ee8daeb1e1a879440c63ed52ab799833;hb=9b3bce7ae76ff8c0c81315d2505ea96bf422a318;hpb=a482029babea3210840d8c62e9df9ece4342b2b9 diff --git a/source/core/texture3d.h b/source/core/texture3d.h index df52bf66..2a8f653c 100644 --- a/source/core/texture3d.h +++ b/source/core/texture3d.h @@ -53,11 +53,19 @@ public: undefined. If storage has already been allocated, does nothing. */ void allocate(unsigned level); +private: + void allocate_(unsigned); + +public: /** Updates the contents of the entire texture. Storage must be defined beforehand. The image data must have dimensions and format matching the defined storage. */ void image(unsigned level, const void *data); +private: + void image_(unsigned, const void *); + +public: DEPRECATED void image(unsigned level, PixelComponents comp, DataType type, const void *data); /** Updates a cuboid-shaped region of the texture. Storage must be defined