]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texturecube.h
Rewrite state management
[libs/gl.git] / source / core / texturecube.h
index ae305153fec6860a8f37e3128f037214f07d5e25..39fe0c699b4b6358fa9efe6c7348504450690742 100644 (file)
@@ -77,11 +77,19 @@ public:
        undefined.  If storage has already been allocated, does nothing. */
        void allocate(unsigned level);
 
+private:
+       void allocate_(unsigned);
+
+public:
        /** Updates the contents of a face.  Storage must be defined beforehand.
        The image data must have dimensions and format matching the defined
        storage. */
        void image(TextureCubeFace face, unsigned level, const void *data);
 
+private:
+       void image_(TextureCubeFace, unsigned, const void *);
+
+public:
        DEPRECATED void image(TextureCubeFace face, unsigned level,
                PixelComponents comp, DataType type, const void *data);