#include <OgrePNGCodec.h>
Inheritance diagram for Ogre::PNGCodec:
Public Methods | |
void | code (const DataChunk &input, DataChunk *output,...) const |
Codes the data in the input chunk and saves the result in the output chunk. More... | |
CodecData * | decode (const DataChunk &input, DataChunk *output,...) const |
Codes the data from the input chunk into the output chunk. More... | |
String | getType () const |
Returns the type of the codec as a String. More... | |
void | codeToFile (const DataChunk &input, const String &outFileName, CodecData *pData) const |
Encodes data to a file. More... | |
Static Public Methods | |
void | registerCodec (Codec *pCodec) |
Registers a new codec in the database. More... | |
Codec * | getCodec (const String &extension) |
Gets the codec registered for the passed in file extension. More... | |
Protected Types | |
typedef std::map< String, Codec * > | CodecList |
Static Protected Attributes | |
bool | _is_initialized = false |
CodecList | ms_mapCodecs |
A map that contains all the registered codecs. More... |
|
|
|
Codes the data in the input chunk and saves the result in the output chunk.
Implements Ogre::ImageCodec. |
|
Encodes data to a file.
Implements Ogre::Codec. |
|
Codes the data from the input chunk into the output chunk.
Implements Ogre::ImageCodec. |
|
Gets the codec registered for the passed in file extension.
|
|
Returns the type of the codec as a String.
Implements Ogre::ImageCodec. |
|
Registers a new codec in the database.
|
|
|
|
A map that contains all the registered codecs.
|
Copyright © 2002 by The OGRE Team