|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Opaque identifier for a scheduled timer. More...
#include <TimerManager.h>
Public Member Functions | |
| operator bool () const | |
| Returns true when this handle stores a non-zero timer id. | |
Public Attributes | |
| uint64_t | id = 0 |
| Unique timer id, or 0 for an invalid handle. | |
Opaque identifier for a scheduled timer.
A default-constructed handle is invalid and is ignored by cancelTimer(). Handles become stale after the timer fires, after the timer is canceled, or after clear() removes all pending timers.
Definition at line 41 of file TimerManager.h.
|
inlineexplicitnodiscard |
Returns true when this handle stores a non-zero timer id.
This check does not prove that the referenced timer is still pending.
Definition at line 52 of file TimerManager.h.
| uint64_t Engine::Core::TimerManager::TimerHandle::id = 0 |
Unique timer id, or 0 for an invalid handle.
Definition at line 43 of file TimerManager.h.