Avara3D 0.2.0
C++ API reference
a3d::InputContext::UpdateInfo Struct Reference

Timing information for one input update. More...

#include <a3d/input/InputContext.h>

Public Attributes

std::uint64_t updateIndex {0}
 Zero-based index of the enclosing Runner host update. More...
 
double elapsedTime {0.0}
 Elapsed host-loop time at this input update, in seconds. More...
 
double deltaTime {0.0}
 Time since the preceding host update, in seconds; zero on the first update. More...
 

Detailed Description

Timing information for one input update.

Definition at line 33 of file InputContext.h.

Member Data Documentation

◆ deltaTime

double a3d::InputContext::UpdateInfo::deltaTime {0.0}

Time since the preceding host update, in seconds; zero on the first update.

Definition at line 44 of file InputContext.h.

◆ elapsedTime

double a3d::InputContext::UpdateInfo::elapsedTime {0.0}

Elapsed host-loop time at this input update, in seconds.

Definition at line 40 of file InputContext.h.

◆ updateIndex

std::uint64_t a3d::InputContext::UpdateInfo::updateIndex {0}

Zero-based index of the enclosing Runner host update.

Definition at line 36 of file InputContext.h.


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