DateTime Ocular::Core::Clock::getDateTime |
( |
| ) |
|
Returns current system date and time.
float Ocular::Core::Clock::getDelta |
( |
| ) |
|
Returns the time, in seconds, it took to complete the last frame.
uint64_t Ocular::Core::Clock::getElapsedMS |
( |
| ) |
|
Returns the number of milliseconds since Clock creation.
uint64_t Ocular::Core::Clock::getElapsedNS |
( |
| ) |
|
Returns the number of nanoseconds since Clock creation.
uint64_t Ocular::Core::Clock::getEpochMS |
( |
| ) |
|
Returns the number of milliseconds since epoch (January 1, 1970).
uint64_t Ocular::Core::Clock::getEpochNS |
( |
| ) |
|
Returns the number of nanoseconds since epoch (January 1, 1970).
void Ocular::Core::Clock::tick |
( |
| ) |
|
Calculates and updates the delta time.
- Note
- This method should only be called once per frame (at the start) and only by it's explicit owner.
The documentation for this class was generated from the following files:
- C:/Projects/OcularEngine/OcularCore/include/Time/Clock.hpp
- C:/Projects/OcularEngine/OcularCore/src/Time/Clock.cpp