Skip to content

Commit

Permalink
# OpenVR SDK 2.5.1
Browse files Browse the repository at this point in the history
Clients:
 * Include Transfer Time in Frame Timing, when using Steam Link

Drivers:
 * Include HMD Pose Prediction Time
 * Adjust behavior for GetFrameTiming
 * Add IVRIPCResourceManagerClient for Linux

[git-p4: depot-paths = "//vr/steamvr/sdk_release/": change = 8791766]
  • Loading branch information
charleslvalve committed Mar 26, 2024
1 parent f51d87e commit ae46a8d
Show file tree
Hide file tree
Showing 30 changed files with 160 additions and 38 deletions.
Binary file modified bin/linux32/libopenvr_api.so
Binary file not shown.
Binary file modified bin/linux32/libopenvr_api.so.dbg
Binary file not shown.
Binary file modified bin/linux64/libopenvr_api.so
Binary file not shown.
Binary file modified bin/linux64/libopenvr_api.so.dbg
Binary file not shown.
Binary file modified bin/linuxarm64/libopenvr_api.so
Binary file not shown.
Binary file modified bin/linuxarm64/libopenvr_api.so.dbg
Binary file not shown.
Binary file modified bin/linuxarm64/libopenvr_api_unity.so
Binary file not shown.
Binary file modified bin/linuxarm64/libopenvr_api_unity.so.dbg
Binary file not shown.
Binary file modified bin/win32/openvr_api.dll
Binary file not shown.
Binary file modified bin/win32/openvr_api.dll.sig
Binary file not shown.
Binary file modified bin/win32/openvr_api.pdb
Binary file not shown.
Binary file modified bin/win64/openvr_api.dll
Binary file not shown.
Binary file modified bin/win64/openvr_api.dll.sig
Binary file not shown.
Binary file modified bin/win64/openvr_api.pdb
Binary file not shown.
21 changes: 18 additions & 3 deletions codegen/openvr_capi.cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,18 @@
#include <stdlib.h>
#include <assert.h>
#include "../headers/openvr.h"
#include "openvr_capi.h"
#include "openvr.h"
#include "ivrsystem.h"
#include "ivrchaperone.h"
#include "ivrchaperonesetup.h"
#include "ivrcompositor.h"
#include "ivroverlay.h"
#include "ivrrendermodels.h"
#include "ivrnotifications.h"
#include "ivrblockqueue.h"
#include "../vrclient/interface_adapters_client.h"
#include "_dynamic_openvr_api_flat.h"
class FnTableRegistration
{
Expand All @@ -67,7 +77,12 @@ class FnTableRegistration

import json
import sys
with open('../headers/openvr_api.json') as data_file:

if len(sys.argv) != 2:
sys.exit(-1);
json_path = sys.argv[1]

with open(json_path) as data_file:
data = json.load(data_file)

import api_shared
Expand Down
6 changes: 4 additions & 2 deletions codegen/openvr_capi.h.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@
#endif
""")

if len(sys.argv) != 2:
sys.exit(-1);
json_path = sys.argv[1]


data = api_shared.loadfile('../headers/openvr_api.json', 'vr')
data = api_shared.loadfile(json_path, 'vr')
converttype = api_shared.converttype
striparraysuffix = api_shared.striparraysuffix
structlist = api_shared.structlist
Expand Down
6 changes: 4 additions & 2 deletions codegen/openvr_interop.cs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@
{
""")

if len(sys.argv) != 2:
sys.exit(-1);
json_path = sys.argv[1]


data = api_shared.loadfile('../headers/openvr_api.json', 'vr')
data = api_shared.loadfile(json_path, 'vr')
converttype = api_shared.converttype
structlist = api_shared.structlist
typedeflist = api_shared.typedeflist
Expand Down
36 changes: 23 additions & 13 deletions headers/openvr.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
namespace vr
{
static const uint32_t k_nSteamVRVersionMajor = 2;
static const uint32_t k_nSteamVRVersionMinor = 2;
static const uint32_t k_nSteamVRVersionBuild = 3;
static const uint32_t k_nSteamVRVersionMinor = 5;
static const uint32_t k_nSteamVRVersionBuild = 1;
} // namespace vr

// public_vrtypes.h
Expand Down Expand Up @@ -885,6 +885,11 @@ enum EVREventType
VREvent_DesktopMightBeVisible = 536, // Sent when any known desktop related overlay is visible
VREvent_DesktopMightBeHidden = 537, // Sent when all known desktop related overlays are hidden

VREvent_MutualSteamCapabilitiesChanged = 538, // Sent when the set of capabilities common between both Steam and SteamVR have changed.

VREvent_OverlayCreated = 539, // An OpenVR overlay of any sort was created. Data is overlay.
VREvent_OverlayDestroyed = 540, // An OpenVR overlay of any sort was destroyed. Data is overlay.

VREvent_Notification_Shown = 600,
VREvent_Notification_Hidden = 601,
VREvent_Notification_BeginInteraction = 602,
Expand Down Expand Up @@ -1647,6 +1652,7 @@ enum EVRNotificationError
VRNotificationError_NotificationQueueFull = 101,
VRNotificationError_InvalidOverlayHandle = 102,
VRNotificationError_SystemWithUserValueAlreadyExists = 103,
VRNotificationError_ServiceUnavailable = 104,
};


Expand Down Expand Up @@ -2014,22 +2020,22 @@ static const uint32_t k_unScreenshotHandleInvalid = 0;
/** Compositor frame timing reprojection flags. */
const uint32_t VRCompositor_ReprojectionReason_Cpu = 0x01;
const uint32_t VRCompositor_ReprojectionReason_Gpu = 0x02;
const uint32_t VRCompositor_ReprojectionAsync = 0x04; // This flag indicates the async reprojection mode is active,
const uint32_t VRCompositor_ReprojectionAsync = 0x04; // This flag indicates the async reprojection mode is active,
// but does not indicate if reprojection actually happened or not.
// Use the ReprojectionReason flags above to check if reprojection
// was actually applied (i.e. scene texture was reused).
// NumFramePresents > 1 also indicates the scene texture was reused,
// and also the number of times that it was presented in total.

const uint32_t VRCompositor_ReprojectionMotion = 0x08; // This flag indicates whether or not motion smoothing was triggered for this frame
const uint32_t VRCompositor_ReprojectionMotion = 0x08; // This flag indicates whether or not motion smoothing was triggered for this frame

const uint32_t VRCompositor_PredictionMask = 0xF0; // The runtime may predict more than one frame (up to four) ahead if
// it detects the application is taking too long to render. These two
const uint32_t VRCompositor_PredictionMask = 0xF0; // The runtime may predict more than one frame ahead if
// it detects the application is taking too long to render. These
// bits will contain the count of additional frames (normally zero).
// Use the VR_COMPOSITOR_ADDITIONAL_PREDICTED_FRAMES macro to read from
// the latest frame timing entry.

const uint32_t VRCompositor_ThrottleMask = 0xF00; // Number of frames the compositor is throttling the application.
const uint32_t VRCompositor_ThrottleMask = 0xF00; // Number of frames the compositor is throttling the application.
// Use the VR_COMPOSITOR_NUMBER_OF_THROTTLED_FRAMES macro to read from
// the latest frame timing entry.

Expand Down Expand Up @@ -2081,6 +2087,8 @@ struct Compositor_FrameTiming

uint32_t m_nNumVSyncsReadyForUse;
uint32_t m_nNumVSyncsToFirstView;

float m_flTransferLatencyMs;
};
#if defined(__linux__) || defined(__APPLE__)
#pragma pack( pop )
Expand Down Expand Up @@ -2728,6 +2736,7 @@ namespace vr
VRSettingsError_ReadFailed = 3,
VRSettingsError_JsonParseFailed = 4,
VRSettingsError_UnsetSettingHasNoDefault = 5, // This will be returned if the setting does not appear in the appropriate default file and has not been set
VRSettingsError_AccessDenied = 6,
};

// The maximum length of a settings key
Expand Down Expand Up @@ -2869,6 +2878,7 @@ namespace vr
static const char * const k_pch_SteamVR_AdditionalFramesToPredict_Int32 = "additionalFramesToPredict";
static const char * const k_pch_SteamVR_WorldScale_Float = "worldScale";
static const char * const k_pch_SteamVR_FovScale_Int32 = "fovScale";
static const char * const k_pch_SteamVR_FovScaleLetterboxed_Bool = "fovScaleLetterboxed";
static const char * const k_pch_SteamVR_DisableAsyncReprojection_Bool = "disableAsync";
static const char * const k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
static const char * const k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
Expand Down Expand Up @@ -3069,7 +3079,7 @@ namespace vr
static const char * const k_pch_Dashboard_StickyDashboard = "stickyDashboard";
static const char * const k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays";
static const char * const k_pch_Dashboard_AllowVRGamepadUI_Bool = "allowVRGamepadUI";
static const char * const k_pch_Dashboard_AllowDesktopBPMWithVRGamepadUI_Bool = "allowDesktopBPMWithVRGamepadUI";
static const char * const k_pch_Dashboard_AllowVRGamepadUIViaGamescope_Bool = "allowVRGamepadUIViaGamescope";
static const char * const k_pch_Dashboard_SteamMatchesHMDFramerate = "steamMatchesHMDFramerate";

//-----------------------------------------------------------------------------
Expand Down Expand Up @@ -3184,13 +3194,13 @@ class IVRChaperone
virtual bool GetPlayAreaSize( float *pSizeX, float *pSizeZ ) = 0;

/** Returns a quad describing the Play Area (formerly named Soft Bounds).
* The corners form a rectangle.
* The corners form a rectangle.
* Corners are in counter-clockwise order, starting at the front-right.
* The positions are given relative to the standing origin.
* The center of the rectangle is the center of the user's calibrated play space, not necessarily the standing
* origin.
* origin.
* The Play Area's forward direction goes from its center through the mid-point of a line drawn between the
* first and second corner.
* first and second corner.
* The quad lies on the XZ plane (height = 0y), with 2 sides parallel to the X-axis and two sides parallel
* to the Z-axis of the user's calibrated Play Area. **/
virtual bool GetPlayAreaRect( HmdQuad_t *rect ) = 0;
Expand Down Expand Up @@ -4338,7 +4348,7 @@ namespace vr
/** Shows the dashboard. */
virtual void ShowDashboard( const char *pchOverlayToShow ) = 0;

/** Returns the tracked device that has the laser pointer in the dashboard */
/** Returns the tracked device index that has the laser pointer in the dashboard, or the last one that was used. */
virtual vr::TrackedDeviceIndex_t GetPrimaryDashboardDevice() = 0;

// ---------------------------------------------
Expand Down Expand Up @@ -5229,7 +5239,7 @@ namespace vr
virtual EVRInputError GetOriginTrackedDeviceInfo( VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize ) = 0;

/** Retrieves useful information about the bindings for an action */
virtual EVRInputError GetActionBindingInfo( VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount ) = 0;
virtual EVRInputError GetActionBindingInfo( VRActionHandle_t action, VR_ARRAY_COUNT( unBindingInfoCount ) InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount ) = 0;

/** Shows the current binding for the action in-headset */
virtual EVRInputError ShowActionOrigins( VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle ) = 0;
Expand Down
15 changes: 11 additions & 4 deletions headers/openvr_api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ public struct IVRInput
internal _GetOriginTrackedDeviceInfo GetOriginTrackedDeviceInfo;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVRInputError _GetActionBindingInfo(ulong action, ref InputBindingInfo_t pOriginInfo, uint unBindingInfoSize, uint unBindingInfoCount, ref uint punReturnedBindingInfoCount);
internal delegate EVRInputError _GetActionBindingInfo(ulong action, [In, Out] InputBindingInfo_t[] pOriginInfo, uint unBindingInfoSize, uint unBindingInfoCount, ref uint punReturnedBindingInfoCount);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetActionBindingInfo GetActionBindingInfo;

Expand Down Expand Up @@ -4271,10 +4271,10 @@ public EVRInputError GetOriginTrackedDeviceInfo(ulong origin,ref InputOriginInfo
EVRInputError result = FnTable.GetOriginTrackedDeviceInfo(origin,ref pOriginInfo,unOriginInfoSize);
return result;
}
public EVRInputError GetActionBindingInfo(ulong action,ref InputBindingInfo_t pOriginInfo,uint unBindingInfoSize,uint unBindingInfoCount,ref uint punReturnedBindingInfoCount)
public EVRInputError GetActionBindingInfo(ulong action,InputBindingInfo_t [] pOriginInfo,uint unBindingInfoSize,ref uint punReturnedBindingInfoCount)
{
punReturnedBindingInfoCount = 0;
EVRInputError result = FnTable.GetActionBindingInfo(action,ref pOriginInfo,unBindingInfoSize,unBindingInfoCount,ref punReturnedBindingInfoCount);
EVRInputError result = FnTable.GetActionBindingInfo(action,pOriginInfo,unBindingInfoSize,(uint) pOriginInfo.Length,ref punReturnedBindingInfoCount);
return result;
}
public EVRInputError ShowActionOrigins(ulong actionSetHandle,ulong ulActionHandle)
Expand Down Expand Up @@ -5020,6 +5020,9 @@ public enum EVREventType
VREvent_DashboardThumbChanged = 535,
VREvent_DesktopMightBeVisible = 536,
VREvent_DesktopMightBeHidden = 537,
VREvent_MutualSteamCapabilitiesChanged = 538,
VREvent_OverlayCreated = 539,
VREvent_OverlayDestroyed = 540,
VREvent_Notification_Shown = 600,
VREvent_Notification_Hidden = 601,
VREvent_Notification_BeginInteraction = 602,
Expand Down Expand Up @@ -5317,6 +5320,7 @@ public enum EVRNotificationError
NotificationQueueFull = 101,
InvalidOverlayHandle = 102,
SystemWithUserValueAlreadyExists = 103,
ServiceUnavailable = 104,
}
public enum EVRSkeletalMotionRange
{
Expand Down Expand Up @@ -5861,6 +5865,7 @@ public enum EVRSettingsError
ReadFailed = 3,
JsonParseFailed = 4,
UnsetSettingHasNoDefault = 5,
AccessDenied = 6,
}
public enum EVRScreenshotError
{
Expand Down Expand Up @@ -6559,6 +6564,7 @@ public void Unpack(ref VRControllerState_t unpacked)
public TrackedDevicePose_t m_HmdPose;
public uint m_nNumVSyncsReadyForUse;
public uint m_nNumVSyncsToFirstView;
public float m_flTransferLatencyMs;
}
[StructLayout(LayoutKind.Sequential)] public struct Compositor_BenchmarkResults
{
Expand Down Expand Up @@ -7810,6 +7816,7 @@ public static uint GetInitToken()
public const string k_pch_SteamVR_AdditionalFramesToPredict_Int32 = "additionalFramesToPredict";
public const string k_pch_SteamVR_WorldScale_Float = "worldScale";
public const string k_pch_SteamVR_FovScale_Int32 = "fovScale";
public const string k_pch_SteamVR_FovScaleLetterboxed_Bool = "fovScaleLetterboxed";
public const string k_pch_SteamVR_DisableAsyncReprojection_Bool = "disableAsync";
public const string k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
public const string k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
Expand Down Expand Up @@ -7968,7 +7975,7 @@ public static uint GetInitToken()
public const string k_pch_Dashboard_StickyDashboard = "stickyDashboard";
public const string k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays";
public const string k_pch_Dashboard_AllowVRGamepadUI_Bool = "allowVRGamepadUI";
public const string k_pch_Dashboard_AllowDesktopBPMWithVRGamepadUI_Bool = "allowDesktopBPMWithVRGamepadUI";
public const string k_pch_Dashboard_AllowVRGamepadUIViaGamescope_Bool = "allowVRGamepadUIViaGamescope";
public const string k_pch_Dashboard_SteamMatchesHMDFramerate = "steamMatchesHMDFramerate";
public const string k_pch_modelskin_Section = "modelskins";
public const string k_pch_Driver_Enable_Bool = "enable";
Expand Down
14 changes: 11 additions & 3 deletions headers/openvr_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@
,{"name": "VREvent_DashboardThumbChanged","value": "535"}
,{"name": "VREvent_DesktopMightBeVisible","value": "536"}
,{"name": "VREvent_DesktopMightBeHidden","value": "537"}
,{"name": "VREvent_MutualSteamCapabilitiesChanged","value": "538"}
,{"name": "VREvent_OverlayCreated","value": "539"}
,{"name": "VREvent_OverlayDestroyed","value": "540"}
,{"name": "VREvent_Notification_Shown","value": "600"}
,{"name": "VREvent_Notification_Hidden","value": "601"}
,{"name": "VREvent_Notification_BeginInteraction","value": "602"}
Expand Down Expand Up @@ -744,6 +747,7 @@
,{"name": "VRNotificationError_NotificationQueueFull","value": "101"}
,{"name": "VRNotificationError_InvalidOverlayHandle","value": "102"}
,{"name": "VRNotificationError_SystemWithUserValueAlreadyExists","value": "103"}
,{"name": "VRNotificationError_ServiceUnavailable","value": "104"}
]}
, {"enumname": "vr::EVRSkeletalMotionRange","values": [
{"name": "VRSkeletalMotionRange_WithController","value": "0"}
Expand Down Expand Up @@ -1253,6 +1257,7 @@
,{"name": "VRSettingsError_ReadFailed","value": "3"}
,{"name": "VRSettingsError_JsonParseFailed","value": "4"}
,{"name": "VRSettingsError_UnsetSettingHasNoDefault","value": "5"}
,{"name": "VRSettingsError_AccessDenied","value": "6"}
]}
, {"enumname": "vr::EVRScreenshotError","values": [
{"name": "VRScreenshotError_None","value": "0"}
Expand Down Expand Up @@ -1564,6 +1569,8 @@
"constname": "k_pch_SteamVR_WorldScale_Float","consttype": "const char *const", "constval": "worldScale"}
,{
"constname": "k_pch_SteamVR_FovScale_Int32","consttype": "const char *const", "constval": "fovScale"}
,{
"constname": "k_pch_SteamVR_FovScaleLetterboxed_Bool","consttype": "const char *const", "constval": "fovScaleLetterboxed"}
,{
"constname": "k_pch_SteamVR_DisableAsyncReprojection_Bool","consttype": "const char *const", "constval": "disableAsync"}
,{
Expand Down Expand Up @@ -1881,7 +1888,7 @@
,{
"constname": "k_pch_Dashboard_AllowVRGamepadUI_Bool","consttype": "const char *const", "constval": "allowVRGamepadUI"}
,{
"constname": "k_pch_Dashboard_AllowDesktopBPMWithVRGamepadUI_Bool","consttype": "const char *const", "constval": "allowDesktopBPMWithVRGamepadUI"}
"constname": "k_pch_Dashboard_AllowVRGamepadUIViaGamescope_Bool","consttype": "const char *const", "constval": "allowVRGamepadUIViaGamescope"}
,{
"constname": "k_pch_Dashboard_SteamMatchesHMDFramerate","consttype": "const char *const", "constval": "steamMatchesHMDFramerate"}
,{
Expand Down Expand Up @@ -2350,7 +2357,8 @@
{ "fieldname": "m_flCompositorRenderStartMs", "fieldtype": "float"},
{ "fieldname": "m_HmdPose", "fieldtype": "vr::TrackedDevicePose_t"},
{ "fieldname": "m_nNumVSyncsReadyForUse", "fieldtype": "uint32_t"},
{ "fieldname": "m_nNumVSyncsToFirstView", "fieldtype": "uint32_t"}]}
{ "fieldname": "m_nNumVSyncsToFirstView", "fieldtype": "uint32_t"},
{ "fieldname": "m_flTransferLatencyMs", "fieldtype": "float"}]}
,{"struct": "vr::Compositor_BenchmarkResults","fields": [
{ "fieldname": "m_flMegaPixelsPerSecond", "fieldtype": "float"},
{ "fieldname": "m_flHmdRecommendedMegaPixelsPerSecond", "fieldtype": "float"}]}
Expand Down Expand Up @@ -5560,7 +5568,7 @@
"returntype": "vr::EVRInputError",
"params": [
{ "paramname": "action" ,"paramtype": "vr::VRActionHandle_t"},
{ "paramname": "pOriginInfo" ,"paramtype": "struct vr::InputBindingInfo_t *"},
{ "paramname": "pOriginInfo" ,"array_count": "unBindingInfoCount" ,"paramtype": "struct vr::InputBindingInfo_t *"},
{ "paramname": "unBindingInfoSize" ,"paramtype": "uint32_t"},
{ "paramname": "unBindingInfoCount" ,"paramtype": "uint32_t"},
{ "paramname": "punReturnedBindingInfoCount" ,"paramtype": "uint32_t *"}
Expand Down
9 changes: 8 additions & 1 deletion headers/openvr_capi.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ static const char * k_pch_SteamVR_FramesToThrottle_Int32 = "framesToThrottle";
static const char * k_pch_SteamVR_AdditionalFramesToPredict_Int32 = "additionalFramesToPredict";
static const char * k_pch_SteamVR_WorldScale_Float = "worldScale";
static const char * k_pch_SteamVR_FovScale_Int32 = "fovScale";
static const char * k_pch_SteamVR_FovScaleLetterboxed_Bool = "fovScaleLetterboxed";
static const char * k_pch_SteamVR_DisableAsyncReprojection_Bool = "disableAsync";
static const char * k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
static const char * k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
Expand Down Expand Up @@ -341,7 +342,7 @@ static const char * k_pch_Dashboard_UseStandaloneSystemLayer = "standaloneSystem
static const char * k_pch_Dashboard_StickyDashboard = "stickyDashboard";
static const char * k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays";
static const char * k_pch_Dashboard_AllowVRGamepadUI_Bool = "allowVRGamepadUI";
static const char * k_pch_Dashboard_AllowDesktopBPMWithVRGamepadUI_Bool = "allowDesktopBPMWithVRGamepadUI";
static const char * k_pch_Dashboard_AllowVRGamepadUIViaGamescope_Bool = "allowVRGamepadUIViaGamescope";
static const char * k_pch_Dashboard_SteamMatchesHMDFramerate = "steamMatchesHMDFramerate";
static const char * k_pch_modelskin_Section = "modelskins";
static const char * k_pch_Driver_Enable_Bool = "enable";
Expand Down Expand Up @@ -884,6 +885,9 @@ typedef enum EVREventType
EVREventType_VREvent_DashboardThumbChanged = 535,
EVREventType_VREvent_DesktopMightBeVisible = 536,
EVREventType_VREvent_DesktopMightBeHidden = 537,
EVREventType_VREvent_MutualSteamCapabilitiesChanged = 538,
EVREventType_VREvent_OverlayCreated = 539,
EVREventType_VREvent_OverlayDestroyed = 540,
EVREventType_VREvent_Notification_Shown = 600,
EVREventType_VREvent_Notification_Hidden = 601,
EVREventType_VREvent_Notification_BeginInteraction = 602,
Expand Down Expand Up @@ -1197,6 +1201,7 @@ typedef enum EVRNotificationError
EVRNotificationError_VRNotificationError_NotificationQueueFull = 101,
EVRNotificationError_VRNotificationError_InvalidOverlayHandle = 102,
EVRNotificationError_VRNotificationError_SystemWithUserValueAlreadyExists = 103,
EVRNotificationError_VRNotificationError_ServiceUnavailable = 104,
} EVRNotificationError;

typedef enum EVRSkeletalMotionRange
Expand Down Expand Up @@ -1776,6 +1781,7 @@ typedef enum EVRSettingsError
EVRSettingsError_VRSettingsError_ReadFailed = 3,
EVRSettingsError_VRSettingsError_JsonParseFailed = 4,
EVRSettingsError_VRSettingsError_UnsetSettingHasNoDefault = 5,
EVRSettingsError_VRSettingsError_AccessDenied = 6,
} EVRSettingsError;

typedef enum EVRScreenshotError
Expand Down Expand Up @@ -2383,6 +2389,7 @@ typedef struct Compositor_FrameTiming
TrackedDevicePose_t m_HmdPose;
uint32_t m_nNumVSyncsReadyForUse;
uint32_t m_nNumVSyncsToFirstView;
float m_flTransferLatencyMs;
} Compositor_FrameTiming;

typedef struct Compositor_BenchmarkResults
Expand Down
Loading

0 comments on commit ae46a8d

Please sign in to comment.