MxEngine
Static Public Member Functions | List of all members
MxEngine::Time Struct Reference

#include <Time.h>

Static Public Member Functions

static TimeStep Current ()
 
static SystemTime System ()
 

Detailed Description

time is a small utility class which uses application window timer to retrieve timestep since engine start

Member Function Documentation

§ Current()

static TimeStep MxEngine::Time::Current ( )
static

gets current time since engine start

Returns
timestep measured in 1/100 of millisecond (depends on GLFW implementation)

§ System()

SystemTime MxEngine::Time::System ( )
static

gets current system time (may not be fast, try avoiding calling it each frame) /returns system time (uses chrono std library)


The documentation for this struct was generated from the following files: