b2dGetFPS

Returns the current frames-per-second.

2D Overlay

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Returns the current frames-per-second.

Technical Exegesis...

Reports the measured frame rate (frames presented over the last second) - handy for an on-screen performance readout.

Example

Example.bam
b2dDrawText("FPS: " & ToString(b2dGetFPS()), 10, 10, False, font)