Returns the current frame-rate cap. A value of 0 is reported when the cap cannot be read.

Returns

number
The frame cap.

Example