A translated character code.
Code code
Definition displayevent.h:85
Math::vec2 normMousePos
Definition displayevent.h:88
Code GetEventCode() const
get event code
Definition displayevent.h:211
Input::Key::Code GetKey() const
get key code
Definition displayevent.h:247
DisplayEvent()
default constructor
Definition displayevent.h:98
CoreGraphics::WindowId windowId
Definition displayevent.h:86
CoreGraphics::WindowId GetWindowId() const
get window id
Definition displayevent.h:220
Input::Char charCode
Definition displayevent.h:90
Input::MouseButton::Code GetMouseButton() const
get mouse button code
Definition displayevent.h:265
const Math::vec2 & GetAbsMousePos() const
get absolute mouse pos (in pixels)
Definition displayevent.h:229
Input::Char GetChar() const
get character code
Definition displayevent.h:256
Input::Key::Code keyCode
Definition displayevent.h:89
Math::vec2 absMousePos
Definition displayevent.h:87
const Math::vec2 & GetNormMousePos() const
get normalized mouse pos (from 0.0 to 1.0)
Definition displayevent.h:238
Code
event codes
Definition displayevent.h:28
@ Character
Definition displayevent.h:45
@ WindowMinimized
Definition displayevent.h:34
@ WindowClose
Definition displayevent.h:31
@ WindowMoved
Definition displayevent.h:38
@ WindowReopen
Definition displayevent.h:32
@ WindowResized
Definition displayevent.h:37
@ MouseButtonDown
Definition displayevent.h:47
@ WindowOpen
Definition displayevent.h:30
@ MouseButtonUp
Definition displayevent.h:48
@ InvalidCode
Definition displayevent.h:29
@ KeyUp
Definition displayevent.h:44
@ MouseButtonDoubleClick
Definition displayevent.h:49
@ KeyDown
Definition displayevent.h:43
@ MouseWheelBackward
Definition displayevent.h:51
@ MouseWheelForward
Definition displayevent.h:50
@ SetFocus
Definition displayevent.h:41
@ ToggleFullscreenWindowed
Definition displayevent.h:36
@ SetCursor
Definition displayevent.h:39
@ CloseRequested
Definition displayevent.h:33
@ KillFocus
Definition displayevent.h:42
@ MouseMove
Definition displayevent.h:46
@ WindowRestored
Definition displayevent.h:35
@ Paint
Definition displayevent.h:40
Input::MouseButton::Code mouseButtonCode
Definition displayevent.h:91
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