]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Texture.hh
scene drawing correctly implemented; new classes
[chaz/yoink] / src / Moof / Texture.hh
index e858093e1a44afa06b44d50dcc5eac80503855e7..d2b2359f0eb4e28d09194cac40816e66dd0536a0 100644 (file)
@@ -38,8 +38,8 @@
 
 #include <boost/shared_ptr.hpp>
 
-#include <Moof/Resource.hh>
 #include <Moof/OpenGL.hh>
+#include <Moof/Resource.hh>
 
 
 namespace Mf {
@@ -50,18 +50,16 @@ class Texture : public Resource
 public:
        Texture(const std::string& name);
 
-       void bind();
-       GLuint getObject();
+       void bind() const;
+       GLuint getObject() const;
 
-       unsigned getWidth();
-       unsigned getHeight();
+       unsigned getWidth() const;
+       unsigned getHeight() const;
 
        void setMinFilter(GLuint filter);
-       void setMaxFilter(GLuint filter);
-       void setWrapU(GLuint wrap);
-       void setWrapV(GLuint wrap);
-
-       void applyChanges();
+       void setMagFilter(GLuint filter);
+       void setWrapS(GLuint wrap);
+       void setWrapT(GLuint wrap);
 
        static std::string getPathToResource(const std::string& name);
 
This page took 0.020779 seconds and 4 git commands to generate.