Function getDelta


#include <Source/Falcor/Utils/Timing/Clock.h>

double getDelta() const


Get the time delta between the 2 previous ticks. This function respects the FPS simulation setting Note that due to floating-point precision, this function won't necessarily return exactly (1/FPS) when simulating framerate. This function will potentially return a negative number, for example when resetting the time to zero


Lines 63-63 in Source/Falcor/Utils/Timing/Clock.h.

double getDelta() const { return; }

Add Discussion as Guest

Log in