Loading...
Searching...
No Matches
hellfire::Time Struct Reference

#include <Time.h>

Collaboration diagram for hellfire::Time:

Static Public Member Functions

static void init ()
 
static void update ()
 
static std::string get_current_timestamp ()
 

Static Public Attributes

static float delta_time = 0.0f
 
static float last_frame_time = 0.0f
 
static float current_time = 0.0f
 
static std::chrono::time_point< std::chrono::high_resolution_clock > start_time
 

Detailed Description

Definition at line 8 of file Time.h.

Member Function Documentation

◆ get_current_timestamp()

static std::string hellfire::Time::get_current_timestamp ( )
inlinestatic

Definition at line 30 of file Time.h.

◆ init()

static void hellfire::Time::init ( )
inlinestatic

Definition at line 16 of file Time.h.

◆ update()

static void hellfire::Time::update ( )
inlinestatic

Definition at line 20 of file Time.h.

Member Data Documentation

◆ current_time

float hellfire::Time::current_time = 0.0f
inlinestatic

Definition at line 11 of file Time.h.

◆ delta_time

float hellfire::Time::delta_time = 0.0f
inlinestatic

Definition at line 9 of file Time.h.

◆ last_frame_time

float hellfire::Time::last_frame_time = 0.0f
inlinestatic

Definition at line 10 of file Time.h.

◆ start_time

std::chrono::time_point<std::chrono::high_resolution_clock> hellfire::Time::start_time
inlinestatic

Definition at line 14 of file Time.h.


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