#ifndef _TEXTURE_H #define _TEXTURE_H #include <GLES2/gl2.h> class Texture { public: Texture(const char* filename); ~Texture(); GLuint getTextureUnit(); int getWidth(); int getHeight(); private: GLuint textureUnit; int w, h; }; #endif //_TEXTURE_H