CEGUI::DevILImageCodec Class Reference

Image codec based on the DevIL library. More...

Inheritance diagram for CEGUI::DevILImageCodec:

Inheritance graph
[legend]
Collaboration diagram for CEGUI::DevILImageCodec:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Textureload (const RawDataContainer &data, Texture *result)
 Load an image from a memory buffer.


Detailed Description

Image codec based on the DevIL library.

Member Function Documentation

Texture * CEGUI::DevILImageCodec::load ( const RawDataContainer data,
Texture result 
) [virtual]

Load an image from a memory buffer.

Parameters:
data the image data
result the texture to use for storing the image data
Returns:
result on success or 0 if the load failed

Implements CEGUI::ImageCodec.

References CEGUI::RawDataContainer::getDataPtr(), CEGUI::RawDataContainer::getSize(), CEGUI::Texture::loadFromMemory(), CEGUI::Texture::PF_RGB, and CEGUI::Texture::PF_RGBA.


Generated on Thu Nov 27 20:34:42 2008 for Crazy Eddies GUI System by  doxygen 1.5.7.1