MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / pull

Method pull

demo/d3d11/appD3D11Ctx.cpp:515–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513 }
514
515 float pull(float frameTime)
516 {
517 m_maxTimeAge += frameTime;
518
519 if (m_maxTimeAge > 1.f)
520 {
521 m_maxTimeAge = 0.f;
522 m_maxTime = m_time;
523 m_smoothTimeSum = 0.f;
524 m_smoothTimeCount = 0.f;
525 }
526 return m_smoothTime;
527 }
528 };
529
530 Stat m_cpu;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected