The headset alone sets the pace of a VR game: vr_init turns off GameMaker's own wait for the screen on Android (tm_sleep), a second clock that cost frames. A project that already has the VR tools gets this when Room > VR > Add VR to Project… (⌥⇧F8) runs again and brings them up to date. In your own code, to trade sharpness for speed:
vr_set_foveation(level): 0 off, 1 low, 2 medium, 3 high. The edges of each eye are drawn with fewer pixels. It can change at any time, for example at a level's start;vr_foveation()reads it back.vr_set_msaa(samples): 4 (the default) or 2 samples of anti-aliasing.vr_msaa()reads it back.vr_gpu_timer(true): times the GPU's work on both eyes.vr_stats()then hasgpu_ms, besidework_ms,wait_ms,late_framesandoutside_ms(GameMaker's own time between frames). Leave it off in a finished game.vr_init({ vsync_pacing: true })keeps GameMaker's old wait, only to compare.vr_append_file(name, text)adds a line to a file in the app's own files folder (read it withadb pull), andvr_launch_arg(name)reads a value the game was started with.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.