#include <SILLYImageLoader.h>
Inheritance diagram for ImageLoader:


Public Member Functions | |
| void | destroyContext (ImageContext *context) |
| Destroy the image context. | |
| const char * | getIdentifierString () const |
| Return the name of the loader. | |
| virtual ImageContext * | loadHeader (PixelFormat &formatSource, DataSource *data)=0 |
| Parse the header of the image and fill the header struct. | |
| virtual bool | loadImageData (PixelOrigin origin, DataSource *data, ImageContext *context)=0 |
| Parse the pixels data of the image and fill the header struct. | |
| virtual | ~ImageLoader () |
| Destructor. | |
Protected Member Functions | |
| ImageLoader (const char *name) | |
| Constructor. | |
In order to add support for new image format one have to inherits this class and implement all required function.
Definition at line 46 of file SILLYImageLoader.h.
|
|
Destroy the image context.
Definition at line 47 of file SILLYImageLoader.cpp. |
|
||||||||||||
|
Parse the header of the image and fill the header struct.
Implemented in JPGImageLoader, PNGImageLoader, and TGAImageLoader. |
|
||||||||||||||||
|
Parse the pixels data of the image and fill the header struct.
Implemented in JPGImageLoader, PNGImageLoader, and TGAImageLoader. |
1.4.6