MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetFrameRateText

Method GetFrameRateText

engine/Poseidon/World/Scene/Scene.cpp:616–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614
615 return buffer;
616}
617RString Scene::GetFrameRateText() const
618{
619 char buffer[256];
620 float minFPS = 1000 / _maxTargetFrameDuration;
621 float maxFPS = 1000 / _minTargetFrameDuration;
622
623 snprintf(buffer, sizeof(buffer), "%.0f..%.0f", minFPS, maxFPS);
624
625 return buffer;
626}
627void Scene::LoadConfig()
628{

Callers 1

OnSliderPosChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected