|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Opaque handle for a registered input provider. More...
#include <InputManager.h>
Public Member Functions | |
| operator bool () const | |
| Checks whether this handle refers to a registered provider id. | |
Public Attributes | |
| uint64_t | id = 0 |
| Unique provider identifier. Zero means invalid. | |
| ActionValueType | type = ActionValueType::Bool |
| Value type of the registered provider. | |
| std::string | name |
| Action name passed to the bind function. | |
Opaque handle for a registered input provider.
Store this handle to remove the provider with InputManager::removeProvider(). The handle records the action type and name so provider removal cannot affect a different action type. A default-constructed handle is invalid.
Definition at line 120 of file InputManager.h.
|
inlineexplicitnodiscard |
Checks whether this handle refers to a registered provider id.
Definition at line 131 of file InputManager.h.
| uint64_t Input::InputManager::ProviderHandle::id = 0 |
Unique provider identifier. Zero means invalid.
Definition at line 122 of file InputManager.h.
| std::string Input::InputManager::ProviderHandle::name |
Action name passed to the bind function.
Definition at line 125 of file InputManager.h.
| ActionValueType Input::InputManager::ProviderHandle::type = ActionValueType::Bool |
Value type of the registered provider.
Definition at line 124 of file InputManager.h.