Category: 2D Overlay
Syntax:
b2dGetGPUTime:Double()
Double
Returns the average time the GPU spends on a frame, in milliseconds (-1 if it isn't known yet).
Takes no parameters.
View detailed documentation online
Print "GPU: " & ToString(b2dGetGPUTime()) & " ms"
BambooBasic © 2026 Michael Denathorn