Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
91
uint64_t frameFromTime(double seconds, uint64_t ticksPerFrame)
92
{
93
return uint64_t(seconds * (double)kTicksPerSecond) / ticksPerFrame;
94
}
95
} // namespace
96
97
Clock::Clock()
Callers
1
Clock.cpp
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected