SetFrameRate()

Syntax

SetFrameRate(FrameRate)
Description
Set the frame rate (in frames per second) for the current screen. This is especially useful for windowed screen mode where there is no refresh rate for the screen. This function sets the maximum number of times per second that the FlipBuffers() function is called.

Parameters

FrameRate The new framerate to set.

Return value

None.

See Also

OpenScreen(), OpenWindowedScreen(), FlipBuffers()

Supported OS

All

<- ScreenWidth() - Screen Index