aboutsummaryrefslogtreecommitdiffstats
path: root/include/Texture.h
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-10-22 09:23:35 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-10-22 09:23:35 -0400
commitd15062f7f2563761660e665d0940d9c0d1a7883c (patch)
tree2478bdb3122263b6b917eef15443ddb9b28e96b4 /include/Texture.h
parentc6739a753e31e8d239b662fbfc7d9ac7e7c0621e (diff)
Commented more of entities, added new texture namespace and class
Diffstat (limited to 'include/Texture.h')
-rw-r--r--include/Texture.h22
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