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.
Реализации
|
Управление циклом событий,
Дисплей OpenGL,
Загрузка и сохранение изображений.
|
Требования
|
gb.image.
|
Класс
|
Описание
|
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.
|