diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-05-16 21:44:32 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-05-16 21:44:32 +0200 |
commit | a524cfdd2756ac945040ca9bed576fb2f68f8c9f (patch) | |
tree | 000874591e87ae5ce7f162214337b49bc1ba0e0b /texture.h |
Imported project.
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..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_ |