summaryrefslogtreecommitdiff
path: root/texture.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-06-13 16:35:25 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-06-13 16:35:25 +0200
commitd6b9953c32b9abc2a96bb2e5b82d8801a1d12cef (patch)
treeb78ebfebaa02788641ace0f58bc2a0dacd31c40a /texture.h
parentf1c0772af07f0339bda5a9abeaf4f869de9868e1 (diff)
Added more stuff.
Diffstat (limited to 'texture.h')
-rw-r--r--texture.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/texture.h b/texture.h
new file mode 100644
index 0000000..c88104f
--- /dev/null
+++ b/texture.h
@@ -0,0 +1,14 @@
+#ifndef _TEXTURE_H_
+#define _TEXTURE_H_
+class Texture {
+ public:
+ unsigned int tex();
+ protected:
+ void build();
+ unsigned char* data;
+ unsigned int width;
+ unsigned int height;
+ unsigned int format;
+ unsigned int texture;
+};
+#endif // _TEXTURE_H_