b2dSetFrameLatency

Sets the maximum number of frames the GPU may buffer ahead (frame pacing).

2D Overlay

Parameters & Returns

Parameters

latency Int

Returns

Void

Quick Summary

Sets the maximum number of frames the GPU may buffer ahead (frame pacing).

Technical Exegesis...

Controls how many frames can be queued before the CPU waits - lower values reduce input latency, higher values can smooth throughput. Typically 1-3.

Example

Example.bam
; No example implemented yet