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

Timing information supplied to each host update callback. More...

#include <a3d/Runner.h>

Public Attributes

std::uint64_t updateIndex {0}
 Zero-based Runner update index. More...
 
double elapsedTime {0.0}
 Monotonic seconds since start(), sampled at this update's start. More...
 
double deltaTime {0.0}
 Monotonic seconds since the previous update's start. More...
 

Detailed Description

Timing information supplied to each host update callback.

Definition at line 58 of file Runner.h.

Member Data Documentation

◆ deltaTime

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

Monotonic seconds since the previous update's start.

This value is zero on the first update.

Definition at line 71 of file Runner.h.

◆ elapsedTime

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

Monotonic seconds since start(), sampled at this update's start.

Definition at line 64 of file Runner.h.

◆ updateIndex

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

Zero-based Runner update index.

Definition at line 61 of file Runner.h.


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