| 419 | } |
| 420 | |
| 421 | OVR_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 | |
| 432 | struct ovrSensorData_; |
| 433 | typedef struct ovrSensorData_ ovrSensorData; |
no test coverage detected