Public Fields
-
GLuint texID
Public Methods
-
OpenGLpng()
-
virtual ~OpenGLpng()
-
bool SaveGLBuffer(char szFileName[])
- load/save
-
bool SaveGLBufferC(char szFileName[], const string* keycomment, const string* comment, int numcomment)
- bool SaveGLBufferC(char szFileName[], char keycomment[], char comment[], int numcomment);
-
bool LoadImage(char szFileName[])
-
bool Invert()
- Image manipulation
-
bool FlipVert()
-
bool FlipHorz()
-
bool Rotate180()
-
void GenTexture()
- Texture creation/management
-
void SetTextureWrap(GLint s, GLint y)
- creates texture for current texture selected in OpenGL
-
void SetFilter(GLint min, GLint mag)
-
void Bind()
-
inline int GetWidth()
-
inline int GetHeight()
-
inline int GetColorDepth()
-
inline const void* GetData()
-
inline INTERNALFORMAT GetInternalFormat()
-
void PrintInfo()
- texture identificator
-
bool SavePNG(const char* filename, const string* keycomment, const string* comment, int numcomment)
-
bool LoadPNGImage(char szFileName[], vector<string> &keycomment, vector<string> &comment, int &numcomment)
-
bool SaveImage(char szFileName[])
Private Fields
-
int m_width
- image data
-
int m_height
-
int m_colorDepth
-
INTERNALFORMAT m_iFormat
-
GLRGBQUAD* m_pData
-
GLint m_texWrapS
- Texture parameters
-
GLint m_texWrapT
-
GLint m_minFilter
-
GLint m_magFilter
Private Methods
-
bool SavePNG(const char* filename)
-
bool SavePPM(const char* filename)
-
bool SaveJPG(const char* filename)
-
bool LoadPNG(const char* filename)
-
bool LoadJPG(const char* filename)
-
bool LoadPPM(const char* filename)
-
bool LoadTGA(const char* filename)
-
void ExpandTo32(RGBTRIPLE* image, int pad)
-
void SetAlpha(unsigned char alpha)
-
bool SetInternalFormat(INTERNALFORMAT format)
-
inline void ClearMem()
Documentation
- OpenGLpng()
- virtual ~OpenGLpng()
- bool SaveGLBuffer(char szFileName[])
- load/save
- bool SaveGLBufferC(char szFileName[], const string* keycomment, const string* comment, int numcomment)
- bool SaveGLBufferC(char szFileName[], char keycomment[], char comment[], int numcomment);
- bool LoadImage(char szFileName[])
- bool Invert()
- Image manipulation
- bool FlipVert()
- bool FlipHorz()
- bool Rotate180()
- void GenTexture()
- Texture creation/management
- void SetTextureWrap(GLint s, GLint y)
- creates texture for current texture selected in OpenGL
- void SetFilter(GLint min, GLint mag)
- void Bind()
- inline int GetWidth()
- inline int GetHeight()
- inline int GetColorDepth()
- inline const void* GetData()
- inline INTERNALFORMAT GetInternalFormat()
- GLuint texID
- void PrintInfo()
- texture identificator
- bool SavePNG(const char* filename, const string* keycomment, const string* comment, int numcomment)
- bool LoadPNGImage(char szFileName[], vector<string> &keycomment, vector<string> &comment, int &numcomment)
- bool SaveImage(char szFileName[])
- bool SavePNG(const char* filename)
- bool SavePPM(const char* filename)
- bool SaveJPG(const char* filename)
- bool LoadPNG(const char* filename)
- bool LoadJPG(const char* filename)
- bool LoadPPM(const char* filename)
- bool LoadTGA(const char* filename)
- void ExpandTo32(RGBTRIPLE* image, int pad)
- void SetAlpha(unsigned char alpha)
- int m_width
- image data
- int m_height
- int m_colorDepth
- INTERNALFORMAT m_iFormat
- GLRGBQUAD* m_pData
- GLint m_texWrapS
- Texture parameters
- GLint m_texWrapT
- GLint m_minFilter
- GLint m_magFilter
- bool SetInternalFormat(INTERNALFORMAT format)
- inline void ClearMem()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.