

Classes | |
| struct | ImageTGA |
| This is our image structure for our targa data. | |
Public Member Functions | |
| Texture * | load (const RawDataContainer &data, Texture *result) |
| Load an image from a memory buffer. | |
This image codec is able to load TGA file only. it is always available.
| Texture * CEGUI::TGAImageCodec::load | ( | const RawDataContainer & | data, | |
| Texture * | result | |||
| ) | [virtual] |
Load an image from a memory buffer.
| data | the image data | |
| result | the texture to use for storing the image data |
Implements CEGUI::ImageCodec.
References CEGUI::RawDataContainer::getDataPtr(), CEGUI::RawDataContainer::getSize(), CEGUI::Informative, CEGUI::Texture::loadFromMemory(), CEGUI::Texture::PF_RGB, and CEGUI::Texture::PF_RGBA.
1.5.7.1