Builder

class Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun build(engine: Engine): FramePacer

Creates the FramePacer.

Link copied to clipboard

The target latency in nanoseconds, measured from VsyncTick.baseTime (default: 33ms).

Link copied to clipboard

The target latency in 60Hz frames (2 frames = 33.3ms).

Link copied to clipboard

The desired frame rate in Hz (e.g. 60 or 30); must be greater than 0.