Struct ovr_sys::ovrDetectResult [] [src]

#[repr(C)]
pub struct ovrDetectResult { pub _align: [u64; 0], pub IsOculusServiceRunning: ovrBool, pub IsOculusHMDConnected: ovrBool, pub _pad0: [u8; 6], }

Return values for ovr_Detect.

see ovr_Detect

Fields

Is ovrFalse when the Oculus Service is not running. This means that the Oculus Service is either uninstalled or stopped. IsOculusHMDConnected will be ovrFalse in this case.

Is ovrTrue when the Oculus Service is running. This means that the Oculus Service is installed and running. IsOculusHMDConnected will reflect the state of the HMD.

Is ovrFalse when an Oculus HMD is not detected. If the Oculus Service is not running, this will be ovrFalse.

Is ovrTrue when an Oculus HMD is detected. This implies that the Oculus Service is also installed and running.

\internal struct pad.

Trait Implementations

impl Copy for ovrDetectResult
[src]

impl Clone for ovrDetectResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ovrDetectResult
[src]

Formats the value using the given formatter.