2
3
4
5
13
14
20
21
25
26
30
31
32
33
34 static bool IsKeyPressed(
const int& keycode) {
return s_Instance->IsKeyPressedImpl(keycode); }
37
38
39
40
41 static bool IsMouseButtonPressed(
const int& button) {
return s_Instance->IsMouseButtonPressedImpl(button); }
44
45
46
47 static std::pair<
float,
float>
GetMousePosition() {
return s_Instance->GetMousePositionImpl(); }
50
51
52
53 static float GetMouseX() {
return s_Instance->GetMouseXImpl(); }
56
57
58
59 static float GetMouseY() {
return s_Instance->GetMouseYImpl(); }
64
65
66
67
68
72
73
74
75
76
80
81
82
83
87
88
89
90
94
95
96
97
103
104
#define SPICES_PROFILE_ZONE
static VulkanState & GetState()
Get VulkanState in use.
This class defines the render backend behaves of Vulkan.