Package org.lwjgl.ovr

Class OVRDetectResult

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class OVRDetectResult
    extends Struct
    Return values for OVRUtil.ovr_Detect(int, org.lwjgl.ovr.OVRDetectResult)

    Member documentation

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

      is OVR.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.

    • IsOculusHMDConnected – is OVR.ovrFalse when an Oculus HMD is not detected. If the Oculus Service is not running, this will be OVR.ovrFalse.

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

    Layout

    struct ovrDetectResult {
        ovrBool IsOculusServiceRunning;
        ovrBool IsOculusHMDConnected;
        char[6];
    }