gfm.sdl2.sdl

Members

Classes

SDL2
class SDL2

Owns both the loader, logging, keyboard state... This object is passed around to other SDL wrapper objects to ensure library loading.

SDL2Exception
class SDL2Exception

The one exception type thrown in this wrapper. A failing SDL function should <b>always</b> throw a SDL2Exception.

Functions

ensureNotInGC
void ensureNotInGC(string resourceName)

Crash if the GC is running. Useful in destructors to avoid reliance GC resource release.

Meta