Skip to content

Commit b653929

Browse files
committed
OpenVR SDK 1.0.7:
General: - Updated structure packing to be more consistent across platforms. - New property (Prop_SecondsFromPhotonsToVblank_Float) to support rolling illumination displays. - New property (Prop_ResourceRoot_String). When present identifies the properly named driver subdir to be used for sourcing resources. - New properties which are automatically set based on components a given driver implements. - Prop_HasDisplayComponent_Bool - Prop_HasControllerComponent_Bool - Prop_HasCameraComponent_Bool - Prop_HasDriverDirectModeComponent_Bool - Prop_HasVirtualDisplayComponent_Bool IVROverlay: - Added SetOverlayName method. - Added SetOverlayRenderModel method. Sets render model to draw behind this overlay and the vertex color to use, pass null for pColor to match the overlays vertex color. The model is scaled by the same amount as the overlay, with a default of 1m. - Added GetOverlayRenderModel accessor. - Added SetOverlayTransformOverlayRelative method. Sets the transform to relative to the transform of the specified overlay. This overlays visibility will also track the parents visibility. - Added GetOverlayTransformOverlayRelative accessor. IVRServerDriverHost: - Added GetRawTrackedDevicePoses. Provides access to device poses for drivers. Poses are in their "raw" tracking space which is uniquely defined by each driver providing poses for its devices. It is up to clients of this function to correlate poses across different drivers. Poses are indexed by their device id, and their associated driver and other properties can be looked up via IVRProperties. IVRVirtualDisplay: - New interface drivers can implement to redirect display output. - Added new device type (TrackedDeviceClass_DisplayRedirect) for accessories which redirect display output. [git-p4: depot-paths = "//vr/steamvr/sdk_release/": change = 3936268]
1 parent 7fa6470 commit b653929

28 files changed

+512
-135
lines changed

bin/linux32/libopenvr_api.so

281 KB
Binary file not shown.

bin/linux32/libopenvr_api.so.dbg

1.88 MB
Binary file not shown.

bin/linux64/libopenvr_api.so

94 Bytes
Binary file not shown.

bin/linux64/libopenvr_api.so.dbg

50.6 KB
Binary file not shown.

bin/osx32/libopenvr_api.dylib

232 Bytes
Binary file not shown.
Binary file not shown.

bin/win32/openvr_api.dll

0 Bytes
Binary file not shown.

bin/win32/openvr_api.pdb

32 KB
Binary file not shown.

bin/win64/openvr_api.dll

0 Bytes
Binary file not shown.

bin/win64/openvr_api.pdb

48 KB
Binary file not shown.

headers/openvr.h

+86-68
Large diffs are not rendered by default.

headers/openvr_api.cs

+168-13
Large diffs are not rendered by default.

headers/openvr_api.json

+65-6
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
,{"name": "TrackedDeviceClass_Controller","value": "2"}
6161
,{"name": "TrackedDeviceClass_GenericTracker","value": "3"}
6262
,{"name": "TrackedDeviceClass_TrackingReference","value": "4"}
63+
,{"name": "TrackedDeviceClass_DisplayRedirect","value": "5"}
6364
]}
6465
, {"enumname": "vr::ETrackedControllerRole","values": [
6566
{"name": "TrackedControllerRole_Invalid","value": "0"}
@@ -108,6 +109,7 @@
108109
,{"name": "Prop_Firmware_ForceUpdateRequired_Bool","value": "1032"}
109110
,{"name": "Prop_ViveSystemButtonFixRequired_Bool","value": "1033"}
110111
,{"name": "Prop_ParentDriver_Uint64","value": "1034"}
112+
,{"name": "Prop_ResourceRoot_String","value": "1035"}
111113
,{"name": "Prop_ReportsTimeSinceVSync_Bool","value": "2000"}
112114
,{"name": "Prop_SecondsFromVsyncToPhotons_Float","value": "2001"}
113115
,{"name": "Prop_DisplayFrequency_Float","value": "2002"}
@@ -150,7 +152,7 @@
150152
,{"name": "Prop_DisplayMCImageHeight_Int32","value": "2039"}
151153
,{"name": "Prop_DisplayMCImageNumChannels_Int32","value": "2040"}
152154
,{"name": "Prop_DisplayMCImageData_Binary","value": "2041"}
153-
,{"name": "Prop_UsesDriverDirectMode_Bool","value": "2042"}
155+
,{"name": "Prop_SecondsFromPhotonsToVblank_Float","value": "2042"}
154156
,{"name": "Prop_AttachedDeviceId_String","value": "3000"}
155157
,{"name": "Prop_SupportedButtons_Uint64","value": "3001"}
156158
,{"name": "Prop_Axis0Type_Int32","value": "3002"}
@@ -179,6 +181,11 @@
179181
,{"name": "Prop_DisplayHiddenArea_Binary_End","value": "5150"}
180182
,{"name": "Prop_UserConfigPath_String","value": "6000"}
181183
,{"name": "Prop_InstallPath_String","value": "6001"}
184+
,{"name": "Prop_HasDisplayComponent_Bool","value": "6002"}
185+
,{"name": "Prop_HasControllerComponent_Bool","value": "6003"}
186+
,{"name": "Prop_HasCameraComponent_Bool","value": "6004"}
187+
,{"name": "Prop_HasDriverDirectModeComponent_Bool","value": "6005"}
188+
,{"name": "Prop_HasVirtualDisplayComponent_Bool","value": "6006"}
182189
,{"name": "Prop_VendorSpecific_Reserved_Start","value": "10000"}
183190
,{"name": "Prop_VendorSpecific_Reserved_End","value": "10999"}
184191
]}
@@ -308,6 +315,8 @@
308315
,{"name": "VREvent_ApplicationListUpdated","value": "1303"}
309316
,{"name": "VREvent_ApplicationMimeTypeLoad","value": "1304"}
310317
,{"name": "VREvent_ApplicationTransitionNewAppLaunchComplete","value": "1305"}
318+
,{"name": "VREvent_ProcessConnected","value": "1306"}
319+
,{"name": "VREvent_ProcessDisconnected","value": "1307"}
311320
,{"name": "VREvent_Compositor_MirrorWindowShown","value": "1400"}
312321
,{"name": "VREvent_Compositor_MirrorWindowHidden","value": "1401"}
313322
,{"name": "VREvent_Compositor_ChaperoneBoundsShown","value": "1410"}
@@ -411,7 +420,8 @@
411420
,{"name": "VRApplication_Utility","value": "4"}
412421
,{"name": "VRApplication_VRMonitor","value": "5"}
413422
,{"name": "VRApplication_SteamWatchdog","value": "6"}
414-
,{"name": "VRApplication_Max","value": "7"}
423+
,{"name": "VRApplication_Bootstrapper","value": "7"}
424+
,{"name": "VRApplication_Max","value": "8"}
415425
]}
416426
, {"enumname": "vr::EVRFirmwareError","values": [
417427
{"name": "VRFirmwareError_None","value": "0"}
@@ -802,7 +812,7 @@
802812
,{
803813
"constname": "k_unMaxOverlayIntersectionMaskPrimitivesCount","consttype": "const uint32_t", "constval": "32"}
804814
,{
805-
"constname": "IVROverlay_Version","consttype": "const char *const", "constval": "IVROverlay_014"}
815+
"constname": "IVROverlay_Version","consttype": "const char *const", "constval": "IVROverlay_016"}
806816
,{
807817
"constname": "k_pch_Controller_Component_GDC2015","consttype": "const char *const", "constval": "gdc2015"}
808818
,{
@@ -835,8 +845,6 @@
835845
"constname": "k_pch_SteamVR_DisplayDebug_Bool","consttype": "const char *const", "constval": "displayDebug"}
836846
,{
837847
"constname": "k_pch_SteamVR_DebugProcessPipe_String","consttype": "const char *const", "constval": "debugProcessPipe"}
838-
,{
839-
"constname": "k_pch_SteamVR_EnableDistortion_Bool","consttype": "const char *const", "constval": "enableDistortion"}
840848
,{
841849
"constname": "k_pch_SteamVR_DisplayDebugX_Int32","consttype": "const char *const", "constval": "displayDebugX"}
842850
,{
@@ -2697,7 +2705,7 @@
26972705
"returntype": "vr::EVROverlayError",
26982706
"params": [
26992707
{ "paramname": "pchOverlayKey" ,"paramtype": "const char *"},
2700-
{ "paramname": "pchOverlayFriendlyName" ,"paramtype": "const char *"},
2708+
{ "paramname": "pchOverlayName" ,"paramtype": "const char *"},
27012709
{ "paramname": "pOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t *"}
27022710
]
27032711
}
@@ -2744,6 +2752,15 @@
27442752
{ "paramname": "pError" ,"paramtype": "vr::EVROverlayError *"}
27452753
]
27462754
}
2755+
,{
2756+
"classname": "vr::IVROverlay",
2757+
"methodname": "SetOverlayName",
2758+
"returntype": "vr::EVROverlayError",
2759+
"params": [
2760+
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
2761+
{ "paramname": "pchName" ,"paramtype": "const char *"}
2762+
]
2763+
}
27472764
,{
27482765
"classname": "vr::IVROverlay",
27492766
"methodname": "GetOverlayImageData",
@@ -2951,6 +2968,28 @@
29512968
{ "paramname": "pOverlayTextureBounds" ,"paramtype": "struct vr::VRTextureBounds_t *"}
29522969
]
29532970
}
2971+
,{
2972+
"classname": "vr::IVROverlay",
2973+
"methodname": "GetOverlayRenderModel",
2974+
"returntype": "uint32_t",
2975+
"params": [
2976+
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
2977+
{ "paramname": "pchValue" ,"paramtype": "char *"},
2978+
{ "paramname": "unBufferSize" ,"paramtype": "uint32_t"},
2979+
{ "paramname": "pColor" ,"paramtype": "struct vr::HmdColor_t *"},
2980+
{ "paramname": "pError" ,"paramtype": "vr::EVROverlayError *"}
2981+
]
2982+
}
2983+
,{
2984+
"classname": "vr::IVROverlay",
2985+
"methodname": "SetOverlayRenderModel",
2986+
"returntype": "vr::EVROverlayError",
2987+
"params": [
2988+
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
2989+
{ "paramname": "pchRenderModel" ,"paramtype": "const char *"},
2990+
{ "paramname": "pColor" ,"paramtype": "const struct vr::HmdColor_t *"}
2991+
]
2992+
}
29542993
,{
29552994
"classname": "vr::IVROverlay",
29562995
"methodname": "GetOverlayTransformType",
@@ -3021,6 +3060,26 @@
30213060
{ "paramname": "unComponentNameSize" ,"paramtype": "uint32_t"}
30223061
]
30233062
}
3063+
,{
3064+
"classname": "vr::IVROverlay",
3065+
"methodname": "GetOverlayTransformOverlayRelative",
3066+
"returntype": "vr::EVROverlayError",
3067+
"params": [
3068+
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
3069+
{ "paramname": "ulOverlayHandleParent" ,"paramtype": "vr::VROverlayHandle_t *"},
3070+
{ "paramname": "pmatParentOverlayToOverlayTransform" ,"paramtype": "struct vr::HmdMatrix34_t *"}
3071+
]
3072+
}
3073+
,{
3074+
"classname": "vr::IVROverlay",
3075+
"methodname": "SetOverlayTransformOverlayRelative",
3076+
"returntype": "vr::EVROverlayError",
3077+
"params": [
3078+
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
3079+
{ "paramname": "ulOverlayHandleParent" ,"paramtype": "vr::VROverlayHandle_t"},
3080+
{ "paramname": "pmatParentOverlayToOverlayTransform" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
3081+
]
3082+
}
30243083
,{
30253084
"classname": "vr::IVROverlay",
30263085
"methodname": "ShowOverlay",

headers/openvr_capi.h

+35-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
#define EXTERN_C
1818
#endif
1919

20+
#if defined( _WIN32 )
2021
#define OPENVR_FNTABLE_CALLTYPE __stdcall
22+
#else
23+
#define OPENVR_FNTABLE_CALLTYPE
24+
#endif
2125

2226
// OPENVR API export macro
2327
#if defined( _WIN32 ) && !defined( _X360 )
@@ -93,7 +97,7 @@ static const unsigned int k_unVROverlayMaxKeyLength = 128;
9397
static const unsigned int k_unVROverlayMaxNameLength = 128;
9498
static const unsigned int k_unMaxOverlayCount = 64;
9599
static const unsigned int k_unMaxOverlayIntersectionMaskPrimitivesCount = 32;
96-
static const char * IVROverlay_Version = "IVROverlay_014";
100+
static const char * IVROverlay_Version = "IVROverlay_016";
97101
static const char * k_pch_Controller_Component_GDC2015 = "gdc2015";
98102
static const char * k_pch_Controller_Component_Base = "base";
99103
static const char * k_pch_Controller_Component_Tip = "tip";
@@ -110,7 +114,6 @@ static const char * k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver";
110114
static const char * k_pch_SteamVR_ForcedHmdKey_String = "forcedHmd";
111115
static const char * k_pch_SteamVR_DisplayDebug_Bool = "displayDebug";
112116
static const char * k_pch_SteamVR_DebugProcessPipe_String = "debugProcessPipe";
113-
static const char * k_pch_SteamVR_EnableDistortion_Bool = "enableDistortion";
114117
static const char * k_pch_SteamVR_DisplayDebugX_Int32 = "displayDebugX";
115118
static const char * k_pch_SteamVR_DisplayDebugY_Int32 = "displayDebugY";
116119
static const char * k_pch_SteamVR_SendSystemButtonToAllApps_Bool = "sendSystemButtonToAllApps";
@@ -268,6 +271,7 @@ typedef enum ETrackedDeviceClass
268271
ETrackedDeviceClass_TrackedDeviceClass_Controller = 2,
269272
ETrackedDeviceClass_TrackedDeviceClass_GenericTracker = 3,
270273
ETrackedDeviceClass_TrackedDeviceClass_TrackingReference = 4,
274+
ETrackedDeviceClass_TrackedDeviceClass_DisplayRedirect = 5,
271275
} ETrackedDeviceClass;
272276

273277
typedef enum ETrackedControllerRole
@@ -322,6 +326,7 @@ typedef enum ETrackedDeviceProperty
322326
ETrackedDeviceProperty_Prop_Firmware_ForceUpdateRequired_Bool = 1032,
323327
ETrackedDeviceProperty_Prop_ViveSystemButtonFixRequired_Bool = 1033,
324328
ETrackedDeviceProperty_Prop_ParentDriver_Uint64 = 1034,
329+
ETrackedDeviceProperty_Prop_ResourceRoot_String = 1035,
325330
ETrackedDeviceProperty_Prop_ReportsTimeSinceVSync_Bool = 2000,
326331
ETrackedDeviceProperty_Prop_SecondsFromVsyncToPhotons_Float = 2001,
327332
ETrackedDeviceProperty_Prop_DisplayFrequency_Float = 2002,
@@ -364,7 +369,7 @@ typedef enum ETrackedDeviceProperty
364369
ETrackedDeviceProperty_Prop_DisplayMCImageHeight_Int32 = 2039,
365370
ETrackedDeviceProperty_Prop_DisplayMCImageNumChannels_Int32 = 2040,
366371
ETrackedDeviceProperty_Prop_DisplayMCImageData_Binary = 2041,
367-
ETrackedDeviceProperty_Prop_UsesDriverDirectMode_Bool = 2042,
372+
ETrackedDeviceProperty_Prop_SecondsFromPhotonsToVblank_Float = 2042,
368373
ETrackedDeviceProperty_Prop_AttachedDeviceId_String = 3000,
369374
ETrackedDeviceProperty_Prop_SupportedButtons_Uint64 = 3001,
370375
ETrackedDeviceProperty_Prop_Axis0Type_Int32 = 3002,
@@ -393,6 +398,11 @@ typedef enum ETrackedDeviceProperty
393398
ETrackedDeviceProperty_Prop_DisplayHiddenArea_Binary_End = 5150,
394399
ETrackedDeviceProperty_Prop_UserConfigPath_String = 6000,
395400
ETrackedDeviceProperty_Prop_InstallPath_String = 6001,
401+
ETrackedDeviceProperty_Prop_HasDisplayComponent_Bool = 6002,
402+
ETrackedDeviceProperty_Prop_HasControllerComponent_Bool = 6003,
403+
ETrackedDeviceProperty_Prop_HasCameraComponent_Bool = 6004,
404+
ETrackedDeviceProperty_Prop_HasDriverDirectModeComponent_Bool = 6005,
405+
ETrackedDeviceProperty_Prop_HasVirtualDisplayComponent_Bool = 6006,
396406
ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_Start = 10000,
397407
ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_End = 10999,
398408
} ETrackedDeviceProperty;
@@ -530,6 +540,8 @@ typedef enum EVREventType
530540
EVREventType_VREvent_ApplicationListUpdated = 1303,
531541
EVREventType_VREvent_ApplicationMimeTypeLoad = 1304,
532542
EVREventType_VREvent_ApplicationTransitionNewAppLaunchComplete = 1305,
543+
EVREventType_VREvent_ProcessConnected = 1306,
544+
EVREventType_VREvent_ProcessDisconnected = 1307,
533545
EVREventType_VREvent_Compositor_MirrorWindowShown = 1400,
534546
EVREventType_VREvent_Compositor_MirrorWindowHidden = 1401,
535547
EVREventType_VREvent_Compositor_ChaperoneBoundsShown = 1410,
@@ -651,7 +663,8 @@ typedef enum EVRApplicationType
651663
EVRApplicationType_VRApplication_Utility = 4,
652664
EVRApplicationType_VRApplication_VRMonitor = 5,
653665
EVRApplicationType_VRApplication_SteamWatchdog = 6,
654-
EVRApplicationType_VRApplication_Max = 7,
666+
EVRApplicationType_VRApplication_Bootstrapper = 7,
667+
EVRApplicationType_VRApplication_Max = 8,
655668
} EVRApplicationType;
656669

657670
typedef enum EVRFirmwareError
@@ -1435,13 +1448,22 @@ typedef struct RenderModel_Vertex_t
14351448
float rfTextureCoord[2]; //float[2]
14361449
} RenderModel_Vertex_t;
14371450

1451+
#if defined(__linux__) || defined(__APPLE__)
1452+
#pragma pack( push, 4 )
1453+
#endif
14381454
typedef struct RenderModel_TextureMap_t
14391455
{
14401456
uint16_t unWidth;
14411457
uint16_t unHeight;
14421458
uint8_t * rubTextureMapData; // const uint8_t *
14431459
} RenderModel_TextureMap_t;
14441460

1461+
#if defined(__linux__) || defined(__APPLE__)
1462+
#pragma pack( pop )
1463+
#endif
1464+
#if defined(__linux__) || defined(__APPLE__)
1465+
#pragma pack( push, 4 )
1466+
#endif
14451467
typedef struct RenderModel_t
14461468
{
14471469
struct RenderModel_Vertex_t * rVertexData; // const struct vr::RenderModel_Vertex_t *
@@ -1451,6 +1473,9 @@ typedef struct RenderModel_t
14511473
TextureID_t diffuseTextureId;
14521474
} RenderModel_t;
14531475

1476+
#if defined(__linux__) || defined(__APPLE__)
1477+
#pragma pack( pop )
1478+
#endif
14541479
typedef struct RenderModel_ControllerMode_State_t
14551480
{
14561481
bool bScrollWheelVisible;
@@ -1715,12 +1740,13 @@ struct VR_IVRCompositor_FnTable
17151740
struct VR_IVROverlay_FnTable
17161741
{
17171742
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *FindOverlay)(char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle);
1718-
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *CreateOverlay)(char * pchOverlayKey, char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle);
1743+
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *CreateOverlay)(char * pchOverlayKey, char * pchOverlayName, VROverlayHandle_t * pOverlayHandle);
17191744
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *DestroyOverlay)(VROverlayHandle_t ulOverlayHandle);
17201745
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle);
17211746
VROverlayHandle_t (OPENVR_FNTABLE_CALLTYPE *GetHighQualityOverlay)();
17221747
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError);
17231748
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError);
1749+
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchName);
17241750
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight);
17251751
char * (OPENVR_FNTABLE_CALLTYPE *GetOverlayErrorNameFromEnum)(EVROverlayError error);
17261752
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID);
@@ -1743,13 +1769,17 @@ struct VR_IVROverlay_FnTable
17431769
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace);
17441770
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, struct VRTextureBounds_t * pOverlayTextureBounds);
17451771
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, struct VRTextureBounds_t * pOverlayTextureBounds);
1772+
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, struct HmdColor_t * pColor, EVROverlayError * pError);
1773+
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchRenderModel, struct HmdColor_t * pColor);
17461774
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType);
17471775
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToOverlayTransform);
17481776
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToOverlayTransform);
17491777
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, struct HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform);
17501778
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, struct HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform);
17511779
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, char * pchComponentName);
17521780
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize);
1781+
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, struct HmdMatrix34_t * pmatParentOverlayToOverlayTransform);
1782+
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, struct HmdMatrix34_t * pmatParentOverlayToOverlayTransform);
17531783
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowOverlay)(VROverlayHandle_t ulOverlayHandle);
17541784
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *HideOverlay)(VROverlayHandle_t ulOverlayHandle);
17551785
bool (OPENVR_FNTABLE_CALLTYPE *IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle);

0 commit comments

Comments
 (0)