|
Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Core functionality (windows, event handler, logger, ...) More...
Classes | |
| struct | Args |
| command line argument parser More... | |
| class | Cursor |
| class | Device |
| The OxygenEngine device that will manage events, windows, scene, etc... More... | |
| union | EventData |
| class | EventHandler |
| Event handler. More... | |
| struct | KeyboardKey |
| class | Monitor |
| A Monitor connected to a GPU. More... | |
| struct | MouseButton |
| class | OpenGL |
| OpenGL renderer. More... | |
| class | Renderer |
| struct | VideoMode |
| Video mode of a Monitor. More... | |
| class | Window |
Typedefs | |
| typedef std::function< void(const core::EventData &)> | event_callback_t |
| typedef int32_t | key_code_t |
| using | EventList = std::vector< std::pair< EventType, EventData > > |
Enumerations | |
| enum class | EventType { DEVICE_ERROR , KEY_INPUT , CHAR_INPUT , MOUSE_MOVE , MOUSE_ENTER_WINDOW , MOUSE_SCROLL , MOUSE_BUTTON , WINDOW_RESIZE , FRAMEBUFFER_RESIZE , CUSTOM , ALL } |
Core functionality (windows, event handler, logger, ...)
|
strong |
| Enumerator | |
|---|---|
| DEVICE_ERROR | Device generated an error. |
| KEY_INPUT | Keyboard key input. |
| CHAR_INPUT | Keyboard character input. |
| MOUSE_MOVE | Mouse moved. |
| MOUSE_ENTER_WINDOW | Mouse cursor entered application window. |
| MOUSE_SCROLL | Mouse scroll event. |
| MOUSE_BUTTON | Mouse button clicked. |
| WINDOW_RESIZE | Application window resized. |
| FRAMEBUFFER_RESIZE | Main framebuffer resized resized. |
| CUSTOM | Custom event which can be filled by user. |
| ALL | Not an event type per se but can by used as a symbolic constant to represent All / Any events. |