]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturing.h
Add a texunit statement which automatically determines the unit number
[libs/gl.git] / source / texturing.h
index 79647f1d95a5b0467a106ddac206066f28267111..cba77e3fb3e49a57e4ca98f7bb698f7ddf7f8489 100644 (file)
@@ -25,6 +25,7 @@ private:
 public:
        ~Texturing();
 
+       int find_free_unit(const std::string & = std::string()) const;
        void attach(unsigned, const Texture &);
        void detach(unsigned);
 private: