![]() |
pntr
Header-only CPU graphics library
|
stb_image integration with pntr for loading images. This is the default behavior. More...
Functions | |
| pntr_image * | pntr_stb_image_load_image_from_memory (pntr_image_type type, const unsigned char *fileData, unsigned int dataSize) |
stb_image integration with pntr for loading images. This is the default behavior.
To use stb_image for loading images, define PNTR_STB_IMAGE prior to including pntr.h. This is provided by default.
Image loading can be completely disabled with PNTR_NO_LOAD_IMAGE.
| pntr_image * pntr_stb_image_load_image_from_memory | ( | pntr_image_type | type, |
| const unsigned char * | fileData, | ||
| unsigned int | dataSize | ||
| ) |
Load an image using stb_image.