diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-06-13 16:35:25 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-06-13 16:35:25 +0200 |
commit | d6b9953c32b9abc2a96bb2e5b82d8801a1d12cef (patch) | |
tree | b78ebfebaa02788641ace0f58bc2a0dacd31c40a /texture.h | |
parent | f1c0772af07f0339bda5a9abeaf4f869de9868e1 (diff) |
Added more stuff.
Diffstat (limited to 'texture.h')
-rw-r--r-- | texture.h | 14 |
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_ |