IrrGetFPS

section index

## NAME

IrrGetFPS - Frames per Second

## SYNOPSIS

IrrGetFPS()

## FUNCTION

Returns amount of frames per second drawn.

## RESULT

amount of frames per second drawn.

## EXAMPLE

             If IrrStart( #IRR_EDT_OPENGL, screen_width, screen_height, #True, #True, #False ) = #True
               While( IrrRunning())
                 IrrBeginScene(#True,#True,0,0,0)
                   .... Do something
                 IrrEndScene()
                 fps.l = IrrGetFPS()
                 IrrSetWindowCaption(Str(fps))
               Wend
               IrrStop()
             EndIf

## NOTES