MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovr_GetInt

Function ovr_GetInt

ReviveXR/REV_CAPI.cpp:1316–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1314}
1315
1316OVR_PUBLIC_FUNCTION(int) ovr_GetInt(ovrSession session, const char* propertyName, int defaultVal)
1317{
1318 REV_TRACE(ovr_GetInt);
1319
1320 if (strcmp("TextureSwapChainDepth", propertyName) == 0)
1321 return REV_DEFAULT_SWAPCHAIN_DEPTH;
1322
1323 return defaultVal;
1324}
1325
1326OVR_PUBLIC_FUNCTION(ovrBool) ovr_SetInt(ovrSession session, const char* propertyName, int value)
1327{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected