Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Implementation of ImageCodec interface for loading PVR files. More...
Public Member Functions | |
Texture * | load (const RawDataContainer &data, Texture *result) |
Load an image from a memory buffer. More... | |
![]() | |
virtual | ~ImageCodec () |
Destructor. | |
const String & | getIdentifierString () const |
Return the name of the image codec object. More... | |
const String & | getSupportedFormat () const |
Return the list of image file format supported. More... | |
virtual | ~ImageCodec () |
Destructor. | |
const String & | getIdentifierString () const |
Return the name of the image codec object. More... | |
const String & | getSupportedFormat () const |
Return the list of image file format supported. More... | |
Additional Inherited Members | |
![]() | |
ImageCodec (const String &name) | |
ImageCodec (const String &name) | |
![]() | |
String | d_supportedFormat |
list all image file format supported | |
Implementation of ImageCodec interface for loading PVR files.
|
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::Texture::isPixelFormatSupported(), CEGUI::Texture::loadFromMemory(), CEGUI::Texture::PF_PVRTC2, CEGUI::Texture::PF_PVRTC4, CEGUI::Texture::PF_RGB, CEGUI::Texture::PF_RGB_565, CEGUI::Texture::PF_RGBA, and CEGUI::Texture::PF_RGBA_4444.