Returns current maximum FPS cap setting.
Takes no parameters.
Returns current FPS cap as Int (0 = unlimited).
3D Graphics
Parameters & Returns
Parameters
This function takes no parameters.
Returns
Int
Quick Summary
Returns current maximum FPS cap setting.
Takes no parameters.
Returns current FPS cap as Int (0 = unlimited).
Technical Exegesis...
Returns current maximum FPS cap setting. Takes no parameters. Returns current FPS cap as Int (0 = unlimited, 30/60/120/144 typical capped values). Reads FPS limit set by b3dSetMaxFPS.
Use cases: (1) Settings UI (display current FPS cap in graphics options menu), (2) Conditional logic (check if FPS capped before adjusting), (3) Debugging (verify FPS cap applied correctly).
Returns current maximum FPS cap setting. Takes no parameters. Returns current FPS cap as Int (0 = unlimited, 30/60/120/144 typical capped values). Reads FPS limit set by b3dSetMaxFPS.
Use cases: (1) Settings UI (display current FPS cap in graphics options menu), (2) Conditional logic (check if FPS capped before adjusting), (3) Debugging (verify FPS cap applied correctly). Common patterns: display setting (Print "Max FPS: " + b3dGetMaxFPS), save setting (maxFPS = b3dGetMaxFPS, save to config file), toggle (if b3dGetMaxFPS = 60 then b3dSetMaxFPS 0 else b3dSetMaxFPS 60).
Related: b3dSetMaxFPS sets FPS cap, b3dGetFPS reads actual current FPS (may be lower than max if performance limited).