NewFrameStarted You should call this function in the beginning of the game loop if you wish to use the speed regulation. This function now returns the delta time just like GetDeltaTime. Examples while( gameRunning ) {
// Tell OpenLayer that a new game frame has started. // FpsCounter::NewFrameStarted(); // Other game loop code // } Other functions of the class FpsCounter
Questions about NewFrameStarted? Click here. |