Function getDelta

Synopsis

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

double getDelta() const

Description

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

Source

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

double getDelta() const { return mTime.delta; }





Add Discussion as Guest

Log in