Load an image directly into a render texture.
int freesrc); SDL_Texture * IMG_LoadTexture_RW(SDL_Renderer *renderer, SDL_RWops *src,
renderer |
SDL Render |
src |
RWops |
freesrc |
can be set so that the RWops is freed after this function is called |
Returns SDL Texture, or NULL on error