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

Function VR_RuntimePath

src/openvr_api_public.cpp:270–282  ·  view source on GitHub ↗

Returns where OpenVR runtime is installed. */

Source from the content-addressed store, hash-verified

268
269/** Returns where OpenVR runtime is installed. */
270const char *VR_RuntimePath()
271{
272 static char rchBuffer[1024];
273 uint32_t unRequiredSize;
274 if ( VR_GetRuntimePath( rchBuffer, sizeof( rchBuffer ), &unRequiredSize ) && unRequiredSize < sizeof( rchBuffer ) )
275 {
276 return rchBuffer;
277 }
278 else
279 {
280 return nullptr;
281 }
282}
283
284
285/** Returns where OpenVR runtime is installed. */

Callers

nothing calls this directly

Calls 1

VR_GetRuntimePathFunction · 0.85

Tested by

no test coverage detected