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

Function ovr_GetDevicePoses

ReviveXR/REV_CAPI.cpp:421–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetDevicePoses(ovrSession session, ovrTrackedDeviceType* deviceTypes, int deviceCount, double absTime, ovrPoseStatef* outDevicePoses)
422{
423 REV_TRACE(ovr_GetDevicePoses);
424
425 if (!session || !session->Input)
426 return ovrError_InvalidSession;
427
428 std::shared_lock<std::shared_mutex> lk(session->TrackingMutex);
429 return session->Input->GetDevicePoses(session, deviceTypes, deviceCount, absTime, outDevicePoses);
430}
431
432struct ovrSensorData_;
433typedef struct ovrSensorData_ ovrSensorData;

Callers 1

ovr_TestBoundaryFunction · 0.70

Calls 1

GetDevicePosesMethod · 0.45

Tested by

no test coverage detected