diff options
Diffstat (limited to 'include/texture.hpp')
-rw-r--r-- | include/texture.hpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/include/texture.hpp b/include/texture.hpp index 22a2459..ecf85e4 100644 --- a/include/texture.hpp +++ b/include/texture.hpp @@ -86,69 +86,22 @@ public: class Texturec{ private: - - /** - * Contains the index in the image array of the currently loaded texture. - */ - unsigned int texState; public: - /** - * Contains an array of the GLuints returned from Texture::loadTexture(). - */ - std::vector<GLuint> image; - - /** - * Contains the dimensions of each texture in the vector - */ - //TODO - //std::vector<vec2> imageDim; - - /** - * Stores the location of all the images - */ std::vector<std::string> texLoc; - /** - * Populates the image array from a list of strings, with each string as a - * separate argument. - */ - Texturec(uint amt, ...); - - /** - * Populates the image array from an array of strings. - */ - Texturec(uint amt,const char **paths); Texturec(std::vector<std::string>vec); Texturec(std::initializer_list<std::string> l); - /** - * Frees memory taken by the image array. - */ - ~Texturec(); - /** - * Binds the next texture in the array, incrementing texState. - */ - void bindNext(); - - /** - * Binds the previous texture in the array, decrementing texState. - */ - void bindPrev(); - - /** - * Binds the texture with the provided index. - */ - void bind(unsigned int); }; |