[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SDL_Surface *IMG_LoadPNM_RW(SDL_RWops *src)
Load src as a PNM image for use as a surface, if PNM support is compiled into the SDL_image library.
Returns: a pointer to the image as a new SDL_Surface
. NULL is returned on errors, like if PNM is not supported, or a read error.
|
See Also:
3.2.3 IMG_LoadTyped_RW,
3.3.4 IMG_isPNM