PanoramaViewer
 All Classes Namespaces Files Functions Variables Macros Pages
Texture.h
Go to the documentation of this file.
1 /*
2  * Texture.h
3  *
4  * Created on: 28 juin 2013
5  * Author: hallison
6  */
7 
8 #ifndef TEXTURE_H_
9 #define TEXTURE_H_
10 
11 #include <GLES2/gl2.h>
12 
13 namespace LayerSceneGraph {
14 
15 class Texture {
16 private:
17  int width;
18  int height;
19  GLubyte *pixels;
20 public:
21  Texture(GLubyte* pxls, int w, int h);
22  virtual ~Texture();
23 
24  GLubyte *getPixels();
25  int getWidth();
26  int getHeight();
28 };
29 
30 } /* namespace LayerSceneGraph */
31 #endif /* TEXTURE_H_ */