Table of Contents

 
GetFPS
 

Purpose

Queries the framerate manager for the current fps setting

 

Protoype

int CVideo::GetFPS ()
 

Description

This function returns the current framerate that the application is locked to.

NOTE: This function does not return the actual framerate, which may in fact be less than the framerate locked in

 

Use

CVideo video;
int i_fps = video.GetFPS();
 

Prev: Flip