00001 #ifndef GLTexture_H 00002 #define GLTexture_H 00003 00004 #include "glew/glew.h" 00005 00006 class GLTexture 00007 { 00008 public: 00009 GLTexture(); 00010 ~GLTexture(); 00011 GLuint getTexture(); 00012 void setTypes(GLuint textureColorType, GLuint filterType); 00013 void create(GLuint width, GLuint height); 00014 void free(); 00015 00016 private: 00017 GLuint texture; 00018 GLuint textureColorType, filterType; 00019 }; 00020 00021 #endif // GLTexture_H