Browse Source

Doc++

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
ed8273b15a
  1. 8
      src/Magnum/Timeline.h

8
src/Magnum/Timeline.h

@ -99,8 +99,12 @@ class MAGNUM_EXPORT Timeline {
* @brief Set minimal frame time
* @return Reference to self (for method chaining)
*
* Default value is 0.
* @see @ref nextFrame()
* Default value is `0.0f`. Cannot be used on some platforms where
* blocking the main loop is not allowed (such as
* @ref CORRADE_TARGET_EMSCRIPTEN "Emscripten"). Prefer to use VSync
* where possible.
* @see @ref nextFrame(),
* @ref Platform::Sdl2Application::setSwapInterval() "Platform::*Application::setSwapInterval()"
*/
Timeline& setMinimalFrameTime(Float seconds) {
_minimalFrameTime = seconds;

Loading…
Cancel
Save