lovr.headset.setDisplayFrequency
EditSets the display refresh rate, in Hz.
success = lovr.headset.setDisplayFrequency(frequency)
Arguments
Name | Type | Description |
frequency | number | The new refresh rate, in Hz. |
Returns
Name | Type | Description |
success | boolean | Whether the display refresh rate was successfully set. |
Notes
Changing the display refresh-rate also changes the frequency of lovr.update() and lovr.draw() as they depend on the display frequency.