X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FTexture.hh;h=cdb6059ceff00d039a41a8b68f6bae45a543f84c;hp=d2b2359f0eb4e28d09194cac40816e66dd0536a0;hb=bfa6212d09d8735d8fd5e2638188e4a99f21ada4;hpb=29e3d45f7bbbf31eadf793c41ff2b3d9c47b7539 diff --git a/src/Moof/Texture.hh b/src/Moof/Texture.hh index d2b2359..cdb6059 100644 --- a/src/Moof/Texture.hh +++ b/src/Moof/Texture.hh @@ -53,6 +53,8 @@ public: void bind() const; GLuint getObject() const; + static void resetBind(); + unsigned getWidth() const; unsigned getHeight() const; @@ -61,7 +63,7 @@ public: void setWrapS(GLuint wrap); void setWrapT(GLuint wrap); - static std::string getPathToResource(const std::string& name); + static std::string getPath(const std::string& name); struct Exception : std::runtime_error { @@ -70,8 +72,8 @@ public: }; private: - class TextureImpl; - boost::shared_ptr impl_; + class Impl; + boost::shared_ptr impl_; };