MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / VR_IsInterfaceVersionValid

Function VR_IsInterfaceVersionValid

src/openvr_api_public.cpp:188–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188bool VR_IsInterfaceVersionValid(const char *pchInterfaceVersion)
189{
190 std::lock_guard<std::recursive_mutex> lock( g_mutexSystem );
191
192 if (!g_pHmdSystem)
193 {
194 return false;
195 }
196
197 return g_pHmdSystem->IsInterfaceVersionValid(pchInterfaceVersion) == VRInitError_None;
198}
199
200bool VR_IsHmdPresent()
201{

Callers 1

VR_InitFunction · 0.85

Calls 1

Tested by

no test coverage detected