00001 #ifndef VTexture_h 00002 #define VTexture_h 00003 00004 #include <string> 00005 #include <GL/glew.h> 00006 #include <GL/glut.h> 00007 00008 using namespace std; 00009 00011 class VTexture 00012 { 00014 GLuint tex; 00016 string filename; 00018 GLbyte * pixels; 00019 int width; 00020 int height; 00021 00022 public: 00026 VTexture(string); 00028 void bind(); 00029 ~VTexture(void); 00030 }; 00031 00032 #endif