Codec specialized in loading OpenEXR high dynamic range images.
More...
#include <OgreEXRCodec.h>
Codec specialized in loading OpenEXR high dynamic range images.
◆ EXRCodec()
Ogre::EXRCodec::EXRCodec |
( |
| ) |
|
◆ ~EXRCodec()
virtual Ogre::EXRCodec::~EXRCodec |
( |
| ) |
|
|
virtual |
◆ code()
◆ codeToFile()
◆ decode()
DecodeResult Ogre::EXRCodec::decode |
( |
DataStreamPtr & |
input | ) |
const |
Codes the data from the input chunk into the output chunk.
- Parameters
-
input | Stream containing the encoded data |
◆ getType()
String Ogre::EXRCodec::getType |
( |
| ) |
const |
◆ magicNumberToFileExt()
String Ogre::EXRCodec::magicNumberToFileExt |
( |
const char * |
magicNumberPtr, |
|
|
size_t |
maxbytes |
|
) |
| const |
Maps a magic number header to a file extension, if this codec recognises it.
- Parameters
-
magicNumberPtr | Pointer to a stream of bytes which should identify the file. Note that this may be more than needed - each codec may be looking for a different size magic number. |
maxbytes | The number of bytes passed |
- Returns
- A blank string if the magic number was unknown, or a file extension.
The documentation for this class was generated from the following file: