blob: 14e500f7f20b7b373cd2923658d0bedae9811d3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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_
|