Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::Time Class Reference

Global static time utility for frame-based timing. More...

#include <Timer.h>

Static Public Member Functions

static float GetTime ()
 Returns the current time in seconds since engine initialization.

Detailed Description

Global static time utility for frame-based timing.

Provides a monotonically increasing time value since the engine startup, using the Win32 performance counter as its time base.

This class replaces GLFW’s time system.

Member Function Documentation

◆ GetTime()

float Raven::Time::GetTime ( )
inlinestaticnodiscard

Returns the current time in seconds since engine initialization.

Returns
Time in seconds.

The documentation for this class was generated from the following file: