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()
Undocumented in source.

Members

Functions

close
void close()

Releases the SDL resource.

load
SDL2Surface load(string path)

Load an image.

Meta