Rendering Engine 0.2.0
Modular Graphics Rendering Engine | v0.2.0
Loading...
Searching...
No Matches
app_clock.hpp File Reference

High-resolution clock for updating application time. More...

#include <chrono>

Go to the source code of this file.

Classes

class  rendering_engine::AppClock
 Provides high-resolution timing for frame updates. More...

Namespaces

namespace  rendering_engine

Detailed Description

High-resolution clock for updating application time.

AppClock measures precise frame timing using std::chrono::high_resolution_clock and updates an associated AppTime instance each frame. It tracks the start, last, and current timestamps, enabling the engine to compute total and delta time values.

See also
rendering_engine::AppTime

Definition in file app_clock.hpp.