CEGUI::TGAImageCodec Class Reference

Default image codec. More...

Inheritance diagram for CEGUI::TGAImageCodec:

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

Collaboration graph
[legend]

List of all members.

Classes

struct  ImageTGA
 This is our image structure for our targa data.

Public Member Functions

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


Detailed Description

Default image codec.

This image codec is able to load TGA file only. it is always available.


Member Function Documentation

Texture * CEGUI::TGAImageCodec::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::Informative, 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