Crazy Eddies GUI System  0.7.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CEGUI::TGAImageCodec Class Reference

Default image codec. More...

+ Inheritance diagram for CEGUI::TGAImageCodec:
+ Collaboration diagram for CEGUI::TGAImageCodec:

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.
- Public Member Functions inherited from CEGUI::ImageCodec
virtual ~ImageCodec ()
 Destructor.
const StringgetIdentifierString () const
 Return the name of the image codec object.
const StringgetSupportedFormat () const
 Return the list of image file format supported.

Additional Inherited Members

- Protected Member Functions inherited from CEGUI::ImageCodec
 ImageCodec (const String &name)
- Protected Attributes inherited from CEGUI::ImageCodec
String d_supportedFormat
 list all image file format supported

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
datathe image data
resultthe texture to use for storing the image data
Returns
result on success or 0 if the load failed

Implements CEGUI::ImageCodec.