![]() |
Radium Engine
1.5.0
|
Enumerations | |
enum class | Ra::Headless::OpenGLContext::EventMode : int { POLL = 0 , WAIT , TIMEOUT , NUM_MODES } |
Variables | |
Ra::Core::Utils::Observable< int, int > | Ra::Headless::OpenGLContext::m_resizers |
Resize event observable. | |
Ra::Core::Utils::Observable< int, int, int, int > | Ra::Headless::OpenGLContext::m_keyboardObservers |
Keyboard event observable. | |
Ra::Core::Utils::Observable< int, int, int, int, int > | Ra::Headless::OpenGLContext::m_mouseObservers |
Mouse event observable. | |
Ra::Core::Utils::Observable< int, int > | Ra::Headless::OpenGLContext::m_mouseMoveObservers |
Mouse move event observable. | |
Ra::Core::Utils::Observable< int, int > | Ra::Headless::OpenGLContext::m_scrollObservers |
Scroll event observable. | |
EventMode | Ra::Headless::OpenGLContext::m_mode { EventMode::POLL } |
Event processing mode. | |
float | Ra::Headless::OpenGLContext::m_delay { 1.f / 60.f } |
Timeout delay for event processing. | |
These methods allow to display and interact with a simple window associated with the created OpenGL Context, if any.
|
strong |
Identify the event processing method when the window is exposed.
Definition at line 67 of file OpenGLContext.hpp.
|
inline |
#include </home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Headless/OpenGLContext/OpenGLContext.hpp>
Give access to the keyboard event observable so that client can add Observer to this event.
The parameters sent to the keyboard listeners are the keyboard key, platform-specific scancode, key action and modifier bits.
Definition at line 94 of file OpenGLContext.hpp.
|
inline |
#include </home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Headless/OpenGLContext/OpenGLContext.hpp>
Give access to the mouse event observable so that client can add Observer to this event.
The parameters sent to the mouse listeners are the mouse button, button action and modifier bits as well as the mouse position in pixel unit and in the FrameBuffer space. The origin is at the top left of the framebuffer.
Definition at line 106 of file OpenGLContext.hpp.
|
inline |
#include </home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Headless/OpenGLContext/OpenGLContext.hpp>
Give access to the mouse move event observable so that client can add Observer to this event.
The parameters sent to the mouse move listeners are the mouse position in pixel unit and in the FrameBuffer space. The origin is at the top left of the framebuffer.
Definition at line 117 of file OpenGLContext.hpp.
|
inline |
#include </home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Headless/OpenGLContext/OpenGLContext.hpp>
Give access to the resize event observable so that client can add Observer to this event.
The parameters sent to the resize listeners are in pixels and correspond to the OpenGL Framebuffer size (i.e. the size given to glViewport function)
Definition at line 83 of file OpenGLContext.hpp.
|
inline |
#include </home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Headless/OpenGLContext/OpenGLContext.hpp>
Give access to the scroll event observable so that client can add Observer to this event.
The parameters sent to the scroll listeners are two-dimensional scroll offsets in pixel unit and in the FrameBuffer space.
Definition at line 125 of file OpenGLContext.hpp.