gb.sdl2

This component allows to use the SDL2 library.

The Simple DirectMedia Layer (SDL) library is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D (on Windows).

For more information, go to http://libsdl.org/.

Not all the SDL2 features are supported yet.

Implements Event loop management, OpenGL display, Image loading and saving.
Requires gb.image.

Class Descripció
Draw This static class allows to draw inside the SDL window during its Draw event.
Font This class represents an SDL font.
Image This class represents an SDL image or texture.
Key This static class returns information about a keyboard event, and provides constants for each key code.
Mouse This static class returns information about a mouse event.
Window This class represents a SDL window.