summaryrefslogtreecommitdiff
path: root/texture.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-16 21:44:32 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-16 21:44:32 +0200
commita524cfdd2756ac945040ca9bed576fb2f68f8c9f (patch)
tree000874591e87ae5ce7f162214337b49bc1ba0e0b /texture.h
Imported project.
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..14e500f
--- /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 byte_per_pixel;
+ unsigned int texture;
+};
+#endif // _TEXTURE_H_