Type Definition ovr_sys::ovrPerfHudMode

source ·
pub type ovrPerfHudMode = i32;
Expand description

Performance HUD enables the HMD user to see information critical to the real-time operation of the VR application such as latency timing, and CPU & GPU performance metrics

App can toggle performance HUD modes as such:

let perf_hud_mode = ovrPerfHud_LatencyTiming;
ovr_SetInt(session, CStr::from_bytes_with_nul_unchecked(OVR_PERF_HUD_MODE).as_ptr(), perf_hud_mode);