Set Display Frequency
Updated: Jan 22, 2026
Attempts to set the display frequency to the requested floating point value.
Different headsets support different display refresh rate frequencies. You should always use
Get Available Display Frequencies to verify which refresh rates are available on the user’s headset before attempting to set the display frequency.
| Device | Refresh Rates |
|---|
Meta Quest | 60 Hz, 72 Hz |
Meta Quest 2 | 60 Hz, 72 Hz, 80 Hz, 90 Hz, 96 Hz, 100 Hz, 120 Hz |
Meta Quest 3 | 72 Hz, 80 Hz, 90 Hz, 96 Hz, 100 Hz, 120 Hz |
Meta Quest 3S | 72 Hz, 80 Hz, 90 Hz, 96 Hz, 100 Hz, 120 Hz |
Meta Quest Pro | 72 Hz, 90 Hz |
Oculus Rift | 90 Hz |
Oculus Rift S | 80 Hz |
Requested Frequency: A floating point value that indicates the desired display frequency. Allowable values depend on the device the app is running on.
None.
In this sample, the refresh rate is set to 72 Hz whenever the controller button is pressed down, and 60 Hz whenever the controller button has been released. In a production application, you should always check the array length before accessing element 1 in the array that is output by
Get Available Display Frequencies.