diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-22 09:23:35 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-22 09:23:35 -0400 |
commit | d15062f7f2563761660e665d0940d9c0d1a7883c (patch) | |
tree | 2478bdb3122263b6b917eef15443ddb9b28e96b4 /include/Texture.h | |
parent | c6739a753e31e8d239b662fbfc7d9ac7e7c0621e (diff) |
Commented more of entities, added new texture namespace and class
Diffstat (limited to 'include/Texture.h')
-rw-r--r-- | include/Texture.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/Texture.h b/include/Texture.h new file mode 100644 index 0000000..45c8df1 --- /dev/null +++ b/include/Texture.h @@ -0,0 +1,22 @@ +#ifndef TEXTURE_H +#define TEXTURE_H + +#include <common.h> + +namespace Texture{ + GLuint loadTexture(const char *fileName); +} + +class Texturec{ +public: + Texturec(uint amt, ...); + void bindNext(); + void bindPrev(); + + GLuint *image; +private: + int texState; + +}; + +#endif //TEXTURE_H
\ No newline at end of file |