]> git.mxchange.org Git - simgear.git/blob - simgear/screen/GLBitmaps.h
Alexander Powell:
[simgear.git] / simgear / screen / GLBitmaps.h
1 class GlBitmap
2 {
3 public:
4         GlBitmap( GLenum mode=GL_RGB, GLint width=0, GLint height=0, GLubyte *bitmap=0 );
5         ~GlBitmap();
6         GLubyte *getBitmap();
7         void copyBitmap( GlBitmap *from, GLint at_x, GLint at_y );
8 private:
9         GLint m_bytesPerPixel;
10         GLint m_width;
11         GLint m_height;
12         GLint m_bitmapSize;
13         GLubyte *m_bitmap;
14 };