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

Function VR_GetGenericInterface

src/openvr_api_public.cpp:174–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173
174void *VR_GetGenericInterface(const char *pchInterfaceVersion, EVRInitError *peError)
175{
176 std::lock_guard<std::recursive_mutex> lock( g_mutexSystem );
177
178 if (!g_pHmdSystem)
179 {
180 if (peError)
181 *peError = vr::VRInitError_Init_NotInitialized;
182 return NULL;
183 }
184
185 return g_pHmdSystem->GetGenericInterface(pchInterfaceVersion, peError);
186}
187
188bool VR_IsInterfaceVersionValid(const char *pchInterfaceVersion)
189{

Callers 15

BInitMethod · 0.85
BInitMethod · 0.85
VRSystemMethod · 0.85
VRChaperoneMethod · 0.85
VRChaperoneSetupMethod · 0.85
VRCompositorMethod · 0.85
VROverlayMethod · 0.85
VROverlayViewMethod · 0.85
VRHeadsetViewMethod · 0.85
VRResourcesMethod · 0.85
VRScreenshotsMethod · 0.85
VRRenderModelsMethod · 0.85

Calls 1

GetGenericInterfaceMethod · 0.45

Tested by

no test coverage detected