Simple Image Loading LibrarY
0.1.0
|
30 #ifndef _SILLYFileDataSource_h_
31 #define _SILLYFileDataSource_h_
32 #include "SILLYBase.h"
33 #include "SILLYDataSource.h"
87 #ifdef SILLY_OPT_INLINE
88 #include "SILLYFileDataSource.icpp"
91 #endif // end of guard _SILLYFileDataSource_h_
Simple Image Loading LibrarY namespace.
size_t getSize() const
Return the size of the data.
const byte * getDataPtr() const
Get raw access to the image data.
This is an abstract class used to provide data to the loader.
This class allow the loading of an image directly from a file.
bool isValid() const
Check wether the loading is successfull or not.