]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.h
Move texture sampler state to a separate object
[libs/gl.git] / source / texture3d.h
index 679b6a50ee609175c4725e4998a7aa5538b4f6bf..ce63a55ed04d9755d1087b93bc1508b8fdcc5723 100644 (file)
@@ -24,6 +24,7 @@ public:
 
                void raw_data(const std::string &);
                void storage(PixelFormat, unsigned, unsigned, unsigned);
+               void storage_levels(PixelFormat, unsigned, unsigned, unsigned, unsigned);
        };
 
 private:
@@ -82,7 +83,9 @@ public:
 
        If srgb is true and storage is determined by this call, then an sRGB pixel
        format will be used. */
-       virtual void image(const Graphics::Image &, bool = false);
+       virtual void image(const Graphics::Image &, unsigned, bool = false);
+
+       using Texture::image;
 
        unsigned get_width() const { return width; }
        unsigned get_height() const { return height; }