1#ifndef NNGN_TIMING_LIMIT_H
2#define NNGN_TIMING_LIMIT_H
Simulates a v-sync pause using sleep.
Definition limit.h:19
nngn::Timing::duration duration
Definition limit.h:29
void limit(void)
Sleeps for as long as necessary to maintain a constant frame rate.
Definition limit.cpp:10
nngn::Timing::clock clock
Definition limit.h:28
time_point last
Definition limit.h:31
int m_interval
Definition limit.h:30
nngn::Timing::time_point time_point
Definition limit.h:27
void set_interval(int i)
Definition limit.h:23
int interval(void) const
Definition limit.h:21
for i
Definition font.lua:5
clock::time_point time_point
Definition timing.h:22
std::chrono::steady_clock clock
Definition timing.h:21
clock::duration duration
Definition timing.h:23