#include <renderingengine.h>
◆ FpsControl()
FpsControl::FpsControl |
( |
| ) |
|
|
inline |
◆ getBusyMs()
u32 FpsControl::getBusyMs |
( |
| ) |
const |
|
inline |
◆ limit()
void FpsControl::limit |
( |
IrrlichtDevice * | device, |
|
|
f32 * | dtime, |
|
|
bool | assume_paused = false ) |
References busy_time, g_settings, Settings::getFloat(), porting::getTimeUs(), last_time, sleep_time, and sleep_us.
Referenced by Game::connectToServer(), Game::createSingleplayerServer(), Game::getServerContent(), Game::run(), and GUIEngine::run().
◆ reset()
void FpsControl::reset |
( |
| ) |
|
◆ busy_time
u64 FpsControl::busy_time |
◆ last_time
u64 FpsControl::last_time |
◆ sleep_time
u64 FpsControl::sleep_time |
The documentation for this struct was generated from the following files: