mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-05 22:18:03 +01:00
vrclient: Dereference typedefs
This commit is contained in:
parent
ede0f96149
commit
223286df88
52 changed files with 172 additions and 94 deletions
|
|
@ -10,7 +10,7 @@ extern "C" {
|
|||
struct winVREvent_t_0912 {
|
||||
vr::EVREventType eventType;
|
||||
vr::TrackedDeviceIndex_t trackedDeviceIndex;
|
||||
vr::VREvent_Data_t data;
|
||||
vr::VREvent_Data_t data __attribute__((aligned(8)));
|
||||
float eventAgeSeconds;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack(pop)
|
||||
|
|
@ -67,7 +67,7 @@ struct winCameraVideoStreamFrame_t_0912 {
|
|||
double m_flFrameElapsedTime;
|
||||
double m_flFrameCaptureTime;
|
||||
bool m_bPoseIsValid;
|
||||
vr::HmdMatrix34_t m_matDeviceToAbsoluteTracking;
|
||||
vr::HmdMatrix34_t m_matDeviceToAbsoluteTracking __attribute__((aligned(4)));
|
||||
float m_Pad[4];
|
||||
void * m_pImageData;
|
||||
} __attribute__ ((ms_struct));
|
||||
|
|
@ -120,7 +120,7 @@ struct winCompositor_FrameTiming_0912 {
|
|||
float frameVSync;
|
||||
uint32_t droppedFrames;
|
||||
uint32_t frameIndex;
|
||||
vr::TrackedDevicePose_t pose;
|
||||
vr::TrackedDevicePose_t pose __attribute__((aligned(4)));
|
||||
float prediction;
|
||||
float m_flFrameIntervalMs;
|
||||
float m_flSceneRenderCpuMs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue