MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / frameFromTime

Function frameFromTime

Source/Falcor/Utils/Timing/Clock.cpp:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91uint64_t frameFromTime(double seconds, uint64_t ticksPerFrame)
92{
93 return uint64_t(seconds * (double)kTicksPerSecond) / ticksPerFrame;
94}
95} // namespace
96
97Clock::Clock()

Callers 1

Clock.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected