Public Member Functions | |
Texture * | load (const RawDataContainer &data, Texture *result) |
Load an image from a memory buffer. |
Texture * CEGUI::SILLYImageCodec::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::Errors, CEGUI::RawDataContainer::getDataPtr(), CEGUI::RawDataContainer::getSize(), CEGUI::Texture::loadFromMemory(), CEGUI::Texture::PF_RGB, and CEGUI::Texture::PF_RGBA.