00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef CYBGLPIXELTEXTUREC_H
00027 #define CYBGLPIXELTEXTUREC_H
00028
00029
00030 #include "oaw/ctk/cybpixeltexturec.h"
00031 #include <fstream>
00032 #include "../oawconfig.h"
00033
00034 OAW_BEGIN_NAMESPACE
00035
00036 class OAW_DLLMAPPING CybGLPixelTextureC: public CybPixelTextureC
00037 {
00038 public:
00039 CybGLPixelTextureC(CybWorldC*);
00040 virtual ~CybGLPixelTextureC();
00041
00042 CybGLPixelTextureC(const CybGLPixelTextureC&);
00043 CybGLPixelTextureC& operator = (const CybGLPixelTextureC&);
00044
00045 virtual void ToChannel(CybChannelC*,long flag);
00046
00047 virtual void SetEvent(long,const void*, BaseI*);
00048 virtual short SetEventBuf(AnyC&, BaseI*);
00049 protected:
00050 GLenum GetGLColorFormat(short);
00051
00052 protected:
00053 GLuint m_glid;
00054 };
00055
00056 OAW_END_NAMESPACE
00057
00058 #endif
00059
00060
00061
00062
00063
00064
00065
00066
00067