Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Input::InputManager::CallbackHandle Struct Reference

Opaque handle for a registered input callback. More...

#include <InputManager.h>

Public Member Functions

 operator bool () const
 Checks whether this handle refers to a registered callback id.

Public Attributes

uint64_t id = 0
 Unique callback identifier. Zero means invalid.

Detailed Description

Opaque handle for a registered input callback.

Store this handle to remove the callback with InputManager::removeCallback(). A default-constructed handle is invalid.

Definition at line 94 of file InputManager.h.

Member Function Documentation

◆ operator bool()

Input::InputManager::CallbackHandle::operator bool ( ) const
inlineexplicitnodiscard

Checks whether this handle refers to a registered callback id.

Returns
True when the handle id is non-zero.

Definition at line 102 of file InputManager.h.

Member Data Documentation

◆ id

uint64_t Input::InputManager::CallbackHandle::id = 0

Unique callback identifier. Zero means invalid.

Definition at line 96 of file InputManager.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Input/InputManager.h