|
Eidolon
|
Image objects represented loaded image files. These are used to access image data in code rather than load it into the renderer. More...
#include <RenderTypes.h>


Public Member Functions | |
| virtual | ~Image () |
| virtual TextureFormat | getFormat () const |
| Get the loaded data's format. More... | |
| virtual sval | getWidth () const |
| Get the image width. More... | |
| virtual sval | getHeight () const |
| Get the image height. More... | |
| virtual sval | getDepth () const |
| Get the image depth. More... | |
| virtual size_t | getDataSize () const |
| Get the image data size in bytes. More... | |
| virtual u8 * | getData () |
| Get a pointer to the internal data buffer. More... | |
| virtual std::string | encode (const std::string &format) |
| Encode the image data as the byte stream for a file, the format of which is given by `format' (eg. png, jpg) More... | |
| virtual void | fillRealMatrix (RealMatrix *mat) throw (IndexException) |
| Transfer the image data into the given matrix. More... | |
| virtual void | fillColorMatrix (ColorMatrix *mat) throw (IndexException) |
| Transfer the image data into the given matrix. More... | |
Image objects represented loaded image files. These are used to access image data in code rather than load it into the renderer.
|
inlinevirtual |
|
inlinevirtual |
Encode the image data as the byte stream for a file, the format of which is given by `format' (eg. png, jpg)
Reimplemented in OgreImage.
|
inlinevirtual | ||||||||||||||
Transfer the image data into the given matrix.
Reimplemented in OgreImage.
|
inlinevirtual | ||||||||||||||
Transfer the image data into the given matrix.
Reimplemented in OgreImage.
|
inlinevirtual |
Get a pointer to the internal data buffer.
Reimplemented in OgreImage.
|
inlinevirtual |
Get the image data size in bytes.
Reimplemented in OgreImage.
|
inlinevirtual |
Get the loaded data's format.
Reimplemented in OgreImage.
1.8.13