A translated character code.
Code code
Definition displayevent.h:84
Math::vec2 normMousePos
Definition displayevent.h:87
Code GetEventCode() const
get event code
Definition displayevent.h:210
Input::Key::Code GetKey() const
get key code
Definition displayevent.h:246
DisplayEvent()
default constructor
Definition displayevent.h:97
CoreGraphics::WindowId windowId
Definition displayevent.h:85
CoreGraphics::WindowId GetWindowId() const
get window id
Definition displayevent.h:219
Input::Char charCode
Definition displayevent.h:89
Input::MouseButton::Code GetMouseButton() const
get mouse button code
Definition displayevent.h:264
const Math::vec2 & GetAbsMousePos() const
get absolute mouse pos (in pixels)
Definition displayevent.h:228
Input::Char GetChar() const
get character code
Definition displayevent.h:255
Input::Key::Code keyCode
Definition displayevent.h:88
Math::vec2 absMousePos
Definition displayevent.h:86
const Math::vec2 & GetNormMousePos() const
get normalized mouse pos (from 0.0 to 1.0)
Definition displayevent.h:237
Code
event codes
Definition displayevent.h:28
@ Character
Definition displayevent.h:44
@ WindowMinimized
Definition displayevent.h:34
@ WindowClose
Definition displayevent.h:31
@ WindowReopen
Definition displayevent.h:32
@ WindowResized
Definition displayevent.h:37
@ MouseButtonDown
Definition displayevent.h:46
@ WindowOpen
Definition displayevent.h:30
@ MouseButtonUp
Definition displayevent.h:47
@ InvalidCode
Definition displayevent.h:29
@ KeyUp
Definition displayevent.h:43
@ MouseButtonDoubleClick
Definition displayevent.h:48
@ KeyDown
Definition displayevent.h:42
@ MouseWheelBackward
Definition displayevent.h:50
@ MouseWheelForward
Definition displayevent.h:49
@ SetFocus
Definition displayevent.h:40
@ ToggleFullscreenWindowed
Definition displayevent.h:36
@ SetCursor
Definition displayevent.h:38
@ CloseRequested
Definition displayevent.h:33
@ KillFocus
Definition displayevent.h:41
@ MouseMove
Definition displayevent.h:45
@ WindowRestored
Definition displayevent.h:35
@ Paint
Definition displayevent.h:39
Input::MouseButton::Code mouseButtonCode
Definition displayevent.h:90
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition accelerationstructure.h:24
This simple Id pool implements a set of free and used consecutive integers.
Definition id.h:135
static constexpr Id32 InvalidId32
Definition id.h:143
A 2-component float vector class.
Definition vec2.h:21