|
| ExternalImageHDR (string path, bool delay_load=false, int expected_channels=-1) |
|
| ExternalImageHDR (const char *const path, bool delay_load=false, int expected_channels=-1) |
|
void | printErrorMsg () const override |
|
| 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 |
|
| 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 |
|
|
bool | pload (int expected_channels) override |
|
|
enum | ImageWriteFormat { PNG,
HDR,
JPEG
} |
|
uint8_t * | data = nullptr |
|
bool | loaded = false |
|
string | path |
|
const char * | stb_fail_reason = nullptr |
|
int | channels |
|
int | width |
|
int | height |
|
size_t | component_size |
|
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