Loads an image and afterwards loads it into a Texture2D struct. Image can be loaded by stb and SDLImage. To select specific way use versions stb, SDLImage2 (SDL2) or SDLImage (SDL1).
SDLImage must be loaded and initialized manually!
See Implementation
Loads an image and afterwards loads it into a Texture2D struct. Image can be loaded by stb and SDLImage. To select specific way use versions stb, SDLImage2 (SDL2) or SDLImage (SDL1).
SDLImage must be loaded and initialized manually!