Category: 2D Overlay
Syntax:
b2dSetFrameLatency:Void(latency:Int)
Void
Sets how many frames the CPU may get ahead of the GPU.
Takes latency (Int), 1 or 2 (clamped). 1 cuts input lag: each frame waits for the one before to finish. 2, the default, keeps the frame rate up through a slow frame. It applies from the next frame.
Returns nothing.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn