|
vc::Error | InitContext () |
|
bool | ShouldClose () |
|
void | PollEvents () |
|
GLFWwindow * | GetWindow () |
|
const GLFWwindow * | GetWindow () const |
|
void | SetWindowTitle (const char *title) |
|
InputState | GetKeyState (KeyboardInput key) const |
|
bool | IsKeyPressed (KeyboardInput key) const |
|
bool | IsKeyReleased (KeyboardInput key) const |
|
bool | IsKeyRepeat (KeyboardInput key) const |
|
int | GetWindowWidth () const |
|
int | GetWindowHeight () const |
|
bool | IsKeyModifierPressed (int modifier) const |
| Checks if a specified keyboard modifier key is currently pressed.
|
|
vcm::Vec2 | GetMousePosition () const |
|
vcm::Vec2 | GetMouseMove () const |
|
◆ IsKeyModifierPressed()
bool venom::common::Context::IsKeyModifierPressed |
( |
int | modifier | ) |
const |
|
inline |
Checks if a specified keyboard modifier key is currently pressed.
- Parameters
-
modifier | A bitmask of one or more KeyboardModifier values. |
- Returns
- true if the specified modifier(s) is pressed; otherwise, false.
The documentation for this class was generated from the following files:
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/include/venom/common/Context.h
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/src/Context.cc
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/src/ContextInput.cc