Crazy Eddies GUI System  0.7.1
Public Member Functions | List of all members
CEGUI::OgreImageCodec Class Reference

ImageCodec object that loads data via image loading facilities in Ogre. More...

+ Inheritance diagram for CEGUI::OgreImageCodec:
+ Collaboration diagram for CEGUI::OgreImageCodec:

Public Member Functions

 OgreImageCodec ()
 Constructor.
 
Texture * load (const RawDataContainer &data, Texture *result)
 Load an image from a memory buffer. More...
 
- Public Member Functions inherited from CEGUI::ImageCodec
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

- 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

ImageCodec object that loads data via image loading facilities in Ogre.

Member Function Documentation

Texture* CEGUI::OgreImageCodec::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.