27 return static_cast<float>(mDeltaTimeInSeconds);
35 void Reset() noexcept;
46 double mSecondsPerCount{ 0.0 };
47 double mDeltaTimeInSeconds{ 0.0 };
48 std::int64_t mStartTickTime{ 0 };
49 std::int64_t mPreviousTickTime{ 0 };
Timer class used mainly to get frame time.
Definition: Timer.h:9
void Tick() noexcept
Ticks the timer.
Definition: Timer.cpp:25
void Reset() noexcept
Reset timer.
Definition: Timer.cpp:15
__forceinline float GetDeltaTimeInSeconds() const noexcept
Get delta time in seconds.
Definition: Timer.h:25