Framerate¶
WVR_SetFrameRate API to make the content set the display refresh rate for content tuning performance. The trade-off is higher refresh rate with better frame smoothness but heavier system loading; lower refresh rate with lighter system loading but lower frame smoothness.
Currently VIVE XR Elite offers 90Hz and 75Hz for content selection.
Set FrameRate¶
In practice, a lower traget frame rate can help the final FPS be more stable when you show passthrough underlay, and can help the actions in the VR/MR be more smooth.
This API can let you set the target frame rate.
WVR_Result Interop.WVR_SetFrameRate(int frameRate)
You should set the Frame Rate by one of available frame rate. See ‘Get Available Frame Rate’_
Get Frame Rate¶
This API can let you get the current target frame rate.
WVR_Result Interop.WVR_GetFrameRate(ref uint frameRate)
Get Available Frame Rates¶
This API can let you get the possible target frame rate supported by the system. Use the value in the return array to set the frame rate.
WVR_Result Interop.WVR_GetAvailableFrameRates(out uint[] frameRates)