Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
|
#include <time.h>
Public Member Functions | |
void | NewFrame () |
Static Public Member Functions | |
static float | GetDeltaTime () |
static double | GetDeltaTimeAsDouble () |
static float | GetProcessTime () |
static double | GetProcessTimeAsDouble () |
Private Attributes | |
double | initialization_time_ |
double | delta_time_ |
double | frame_start_time_ |
double | process_time_ |
Manages the time in Blowbox.
|
static |
|
static |
|
static |
|
static |
void blowbox::Time::NewFrame | ( | ) |
Indicate to the Time instance that a new frame has begun.
|
private |
The current delta time.
|
private |
The current frame's start time.
|
private |
The time at which the Time instance was created.
|
private |
The time the process has been alive for.