Inheritance diagram for CEGUI::OpenGLTexture:


Public Member Functions | |
| virtual ushort | getWidth (void) const |
| Returns the current pixel width of the texture. | |
| virtual ushort | getHeight (void) const |
| Returns the current pixel height of the texture. | |
| virtual void | loadFromFile (const String &filename, const String &resourceGroup) |
| Loads the specified image file into the texture. The texture is resized as required to hold the image. | |
| virtual void | loadFromMemory (const void *buffPtr, uint buffWidth, uint buffHeight) |
| Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image. | |
| GLuint | getOGLTexid (void) const |
| Return a pointer to the internal texture id. | |
| void | setOGLTextureSize (uint size) |
| set the size of the internal texture. | |
| void | grabTexture (void) |
| Grab the texture to a local buffer. This will destroy the OpenGL texture, and restoreTexture must be called before using it again. | |
| void | restoreTexture (void) |
| Restore the texture from the locally buffered copy previously create by a call to grabTexture. | |
Friends | |
| Texture * | OpenGLRenderer::createTexture (void) |
| Texture * | OpenGLRenderer::createTexture (const String &filename, const String &resourceGroup) |
| Texture * | OpenGLRenderer::createTexture (float size) |
| void | OpenGLRenderer::destroyTexture (Texture *texture) |
Classes | |
| struct | tImageTGA |
|
|
Returns the current pixel height of the texture.
Implements CEGUI::Texture. |
|
|
Return a pointer to the internal texture id.
|
|
|
Returns the current pixel width of the texture.
Implements CEGUI::Texture. |
|
||||||||||||
|
Loads the specified image file into the texture. The texture is resized as required to hold the image.
Implements CEGUI::Texture. |
|
||||||||||||||||
|
Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image.
Implements CEGUI::Texture. |
|
|
set the size of the internal texture.
|
1.4.5