Returns true if the tracked controller role is allowed to be a hand
Returns the current IVRHeadsetView pointer or NULL the interface could not be found.
Returns the interface of the specified version. This method must be called after VR_Init. The pointer returned is valid until VR_Shutdown is called.
Returns a token that represents whether the VR interface handles need to be reloaded
Returns where the OpenVR runtime is installed.
Returns an English string for an EVRInitError. Applications should call VR_GetVRInitErrorAsSymbol instead and use that as a key to look up their own localized error message. This function may be called outside of VR_Init()/VR_Shutdown().
Returns the name of the enum value for an EVRInitError. This function may be called outside of VR_Init()/VR_Shutdown().
Finds the active installation of the VR API and initializes it. The provided path must be absolute or relative to the current working directory. These are the local install versions of the equivalent functions in steamvr.h and will work without a local Steam install.
Finds the active installation of vrclient.dll and initializes it
Returns true if there is an HMD attached. This check is as lightweight as possible and can be called outside of VR_Init/VR_Shutdown. It should be used when an application wants to know if initializing VR is a possibility but isn't ready to take that step yet.
Returns whether the interface of the specified version exists.
Returns true if the OpenVR runtime is installed.
unloads vrclient.dll. Any interface pointers from the interface are invalid after this point
unloads vrclient.dll. Any interface pointers from the interface are invalid after this point
The runtime may predict more than one frame (up to four) ahead if it detects the application is taking too long to render. These two bits will contain the count of additional frames (normally zero). Use the VR_COMPOSITOR_ADDITIONAL_PREDICTED_FRAMES macro to read from the latest frame timing entry.
This flag indicates whether or not motion smoothing was triggered for this frame
Application is requesting throttling via ForceInterleavedReprojectionOn
These flags will be set on DriverDirectMode_FrameTiming::m_nReprojectionFlags when IVRDriverDirectModeComponent::GetFrameTiming is called for drivers to optionally respond to. *//// Motion Smoothing is enabled in the UI for the currently running applicatio
Motion Smoothing is forced on in the UI for the currently running application
Compositor frame timing reprojection flags. This flag indicates the async reprojection mode is active, but does not indicate if reprojection actually happened or not. Use the ReprojectionReason flags above to check if reprojection was actually applied (i.e. scene texture was reused). NumFramePresents > 1 also indicates the scene texture was reused, and also the number of times that it was presented in total.
Number of frames the compositor is throttling the application. Use the VR_COMPOSITOR_NUMBER_OF_THROTTLED_FRAMES macro to read from the latest frame timing entry.