|
| ExternalImage (const string &path, bool delay_load=false, int expected_channels=-1) |
|
virtual void | _free_image_data () |
|
bool | load (int expected_channels=-1) |
|
const string & | getPath () const |
|
const bool | isLoaded () const |
|
const char *const | getErrorMsg () const |
|
virtual void | printErrorMsg () const |
|
| Image (void *const data, int w, int h, int channels, size_t component_size=sizeof(uint8_t)) |
|
| Image (int w, int h, int channels, size_t component_size=sizeof(uint8_t)) |
|
int | getWidth () const |
|
int | getHeight () const |
|
int | getChannels () const |
|
size_t | getComponentSize () const |
|
size_t | getTotalDataSize () const |
|
int | writeFile (const string &path) const |
|
int | writeFile (const char *path) const |
|
int | writeFileFormat (const string &path, ImageWriteFormat format) const |
|
int | writeFileFormat (const char *path, ImageWriteFormat format) const |
|
|
virtual bool | pload (int expected_channels) |
|
|
bool | loaded = false |
|
string | path |
|
const char * | stb_fail_reason = nullptr |
|
int | channels |
|
int | width |
|
int | height |
|
size_t | component_size |
|
|
enum | ImageWriteFormat { PNG,
HDR,
JPEG
} |
|
uint8_t * | data = nullptr |
|
The documentation for this class was generated from the following files:
- /home/kjyager/Code/projects/GI_merge/src/OOOGL/Utility/Image.hpp
- /home/kjyager/Code/projects/GI_merge/src/OOOGL/Utility/Image.cpp