summaryrefslogtreecommitdiff
path: root/engine/texture.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-05-21 19:24:51 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-05-21 19:24:51 +0200
commit267bebfc227c94f543a39e2aa75fb101bc06932e (patch)
tree40ad8057634ba80aa19c61f57884982fd59f6b56 /engine/texture.h
parent88b1e9e505dad78fd2c3ff927495d322b11491ca (diff)
Moved engine-sources to seperate subdirectory.
Diffstat (limited to 'engine/texture.h')
-rw-r--r--engine/texture.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/engine/texture.h b/engine/texture.h
new file mode 100644
index 0000000..14e500f
--- /dev/null
+++ b/engine/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_