aboutsummaryrefslogtreecommitdiffstats
path: root/include/Texture.h
diff options
context:
space:
mode:
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