SDLImage

Load images using SDL_image, a SDL companion library able to load various image formats.

Constructors

this
this(SDL2 sdl2, int flags)

Loads the SDL_image library. SDL must be already initialized.

Destructor

~this
~this()

Releases the SDL resource.

Members

Functions

load
SDL2Surface load(string path)

Load an image.

Meta