Function tick

Synopsis

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

Clock & tick()

Description

Tick the clock. Calling this function has no effect if the clock is paused

Source

Lines 133-139 in Source/Falcor/Utils/Timing/Clock.cpp. Line 124 in Source/Falcor/Utils/Timing/Clock.h.

Clock& Clock::tick()
{
    if (mDeferredFrameID) setFrame(mDeferredFrameID.value());
    else if (mDeferredTime) setTime(mDeferredTime.value());
    else if(!mPaused) step();
    return *this;
}





Add Discussion as Guest

Log in to DocsForge