* update openvr 1.26.7

* ignore chaperone play area error, as it should not effect chaperone, and it frequently occurs with some meta to pcvr configurations

* replace old seated origin call with new reset zero pose call

* change zero offsets to new command

* adjust camera settings to new version of openvr 1.27

* fix save error

* increment version 5.7.4
This commit is contained in:
ykeara
2023-10-09 15:39:13 -05:00
committed by GitHub
parent 67fb57a353
commit 54d22a429e
38 changed files with 1455 additions and 18096 deletions
+473 -268
View File
File diff suppressed because it is too large Load Diff
+216 -64
View File
@@ -4,6 +4,7 @@
// This file is auto-generated, do not edit it.
//
//=============================================================================
#if !OPENVR_XR_API
using System;
using System.Runtime.InteropServices;
@@ -79,11 +80,6 @@ public struct IVRSystem
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetDeviceToAbsoluteTrackingPose GetDeviceToAbsoluteTrackingPose;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate void _ResetSeatedZeroPose();
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _ResetSeatedZeroPose ResetSeatedZeroPose;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate HmdMatrix34_t _GetSeatedZeroPoseToStandingAbsoluteTrackingPose();
[MarshalAs(UnmanagedType.FunctionPtr)]
@@ -549,6 +545,11 @@ public struct IVRChaperone
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _ForceBoundsVisible ForceBoundsVisible;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate void _ResetZeroPose(ETrackingUniverseOrigin eTrackingUniverseOrigin);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _ResetZeroPose ResetZeroPose;
}
[StructLayout(LayoutKind.Sequential)]
@@ -730,7 +731,7 @@ public struct IVRCompositor
internal _GetCurrentFadeColor GetCurrentFadeColor;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate void _FadeGrid(float fSeconds, bool bFadeIn);
internal delegate void _FadeGrid(float fSeconds, bool bFadeGridIn);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _FadeGrid FadeGrid;
@@ -1044,6 +1045,16 @@ public struct IVROverlay
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetOverlayCurvature GetOverlayCurvature;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _SetOverlayPreCurvePitch(ulong ulOverlayHandle, float fRadians);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _SetOverlayPreCurvePitch SetOverlayPreCurvePitch;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _GetOverlayPreCurvePitch(ulong ulOverlayHandle, ref float pfRadians);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetOverlayPreCurvePitch GetOverlayPreCurvePitch;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _SetOverlayTextureColorSpace(ulong ulOverlayHandle, EColorSpace eTextureColorSpace);
[MarshalAs(UnmanagedType.FunctionPtr)]
@@ -1099,16 +1110,6 @@ public struct IVROverlay
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetOverlayTransformTrackedDeviceComponent GetOverlayTransformTrackedDeviceComponent;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _GetOverlayTransformOverlayRelative(ulong ulOverlayHandle, ref ulong ulOverlayHandleParent, ref HmdMatrix34_t pmatParentOverlayToOverlayTransform);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetOverlayTransformOverlayRelative GetOverlayTransformOverlayRelative;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _SetOverlayTransformOverlayRelative(ulong ulOverlayHandle, ulong ulOverlayHandleParent, ref HmdMatrix34_t pmatParentOverlayToOverlayTransform);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _SetOverlayTransformOverlayRelative SetOverlayTransformOverlayRelative;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _SetOverlayTransformCursor(ulong ulCursorOverlayHandle, ref HmdVector2_t pvHotspot);
[MarshalAs(UnmanagedType.FunctionPtr)]
@@ -1119,6 +1120,11 @@ public struct IVROverlay
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetOverlayTransformCursor GetOverlayTransformCursor;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _SetOverlayTransformProjection(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform, ref VROverlayProjection_t pProjection, EVREye eEye);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _SetOverlayTransformProjection SetOverlayTransformProjection;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _ShowOverlay(ulong ulOverlayHandle);
[MarshalAs(UnmanagedType.FunctionPtr)]
@@ -1139,6 +1145,11 @@ public struct IVROverlay
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetTransformForOverlayCoordinates GetTransformForOverlayCoordinates;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVROverlayError _WaitFrameSync(uint nTimeoutMs);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _WaitFrameSync WaitFrameSync;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate bool _PollNextOverlayEvent(ulong ulOverlayHandle, ref VREvent_t pEvent, uint uncbVREvent);
[MarshalAs(UnmanagedType.FunctionPtr)]
@@ -1945,7 +1956,7 @@ public struct IVRPaths
public struct IVRBlockQueue
{
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EBlockQueueError _Create(ref ulong pulQueueHandle, IntPtr pchPath, uint unBlockDataSize, uint unBlockHeaderSize, uint unBlockCount);
internal delegate EBlockQueueError _Create(ref ulong pulQueueHandle, IntPtr pchPath, uint unBlockDataSize, uint unBlockHeaderSize, uint unBlockCount, uint unFlags);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _Create Create;
@@ -1996,6 +2007,11 @@ public class Utils
{
public static IntPtr ToUtf8(string managedString)
{
if (managedString == null)
{
return IntPtr.Zero;
}
int size = System.Text.Encoding.UTF8.GetByteCount(managedString) + 1;
if (buffer.Length < size) buffer = new byte[size];
int written = System.Text.Encoding.UTF8.GetBytes(managedString, 0, managedString.Length, buffer, 0);
@@ -2079,10 +2095,6 @@ public class CVRSystem
{
FnTable.GetDeviceToAbsoluteTrackingPose(eOrigin,fPredictedSecondsToPhotonsFromNow,pTrackedDevicePoseArray,(uint) pTrackedDevicePoseArray.Length);
}
public void ResetSeatedZeroPose()
{
FnTable.ResetSeatedZeroPose();
}
public HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose()
{
HmdMatrix34_t result = FnTable.GetSeatedZeroPoseToStandingAbsoluteTrackingPose();
@@ -2707,6 +2719,10 @@ public class CVRChaperone
{
FnTable.ForceBoundsVisible(bForce);
}
public void ResetZeroPose(ETrackingUniverseOrigin eTrackingUniverseOrigin)
{
FnTable.ResetZeroPose(eTrackingUniverseOrigin);
}
}
@@ -2893,9 +2909,9 @@ public class CVRCompositor
HmdColor_t result = FnTable.GetCurrentFadeColor(bBackground);
return result;
}
public void FadeGrid(float fSeconds,bool bFadeIn)
public void FadeGrid(float fSeconds,bool bFadeGridIn)
{
FnTable.FadeGrid(fSeconds,bFadeIn);
FnTable.FadeGrid(fSeconds,bFadeGridIn);
}
public float GetCurrentGridAlpha()
{
@@ -3224,6 +3240,17 @@ public class CVROverlay
EVROverlayError result = FnTable.GetOverlayCurvature(ulOverlayHandle,ref pfCurvature);
return result;
}
public EVROverlayError SetOverlayPreCurvePitch(ulong ulOverlayHandle,float fRadians)
{
EVROverlayError result = FnTable.SetOverlayPreCurvePitch(ulOverlayHandle,fRadians);
return result;
}
public EVROverlayError GetOverlayPreCurvePitch(ulong ulOverlayHandle,ref float pfRadians)
{
pfRadians = 0;
EVROverlayError result = FnTable.GetOverlayPreCurvePitch(ulOverlayHandle,ref pfRadians);
return result;
}
public EVROverlayError SetOverlayTextureColorSpace(ulong ulOverlayHandle,EColorSpace eTextureColorSpace)
{
EVROverlayError result = FnTable.SetOverlayTextureColorSpace(ulOverlayHandle,eTextureColorSpace);
@@ -3283,17 +3310,6 @@ public class CVROverlay
EVROverlayError result = FnTable.GetOverlayTransformTrackedDeviceComponent(ulOverlayHandle,ref punDeviceIndex,pchComponentName,unComponentNameSize);
return result;
}
public EVROverlayError GetOverlayTransformOverlayRelative(ulong ulOverlayHandle,ref ulong ulOverlayHandleParent,ref HmdMatrix34_t pmatParentOverlayToOverlayTransform)
{
ulOverlayHandleParent = 0;
EVROverlayError result = FnTable.GetOverlayTransformOverlayRelative(ulOverlayHandle,ref ulOverlayHandleParent,ref pmatParentOverlayToOverlayTransform);
return result;
}
public EVROverlayError SetOverlayTransformOverlayRelative(ulong ulOverlayHandle,ulong ulOverlayHandleParent,ref HmdMatrix34_t pmatParentOverlayToOverlayTransform)
{
EVROverlayError result = FnTable.SetOverlayTransformOverlayRelative(ulOverlayHandle,ulOverlayHandleParent,ref pmatParentOverlayToOverlayTransform);
return result;
}
public EVROverlayError SetOverlayTransformCursor(ulong ulCursorOverlayHandle,ref HmdVector2_t pvHotspot)
{
EVROverlayError result = FnTable.SetOverlayTransformCursor(ulCursorOverlayHandle,ref pvHotspot);
@@ -3304,6 +3320,11 @@ public class CVROverlay
EVROverlayError result = FnTable.GetOverlayTransformCursor(ulOverlayHandle,ref pvHotspot);
return result;
}
public EVROverlayError SetOverlayTransformProjection(ulong ulOverlayHandle,ETrackingUniverseOrigin eTrackingOrigin,ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform,ref VROverlayProjection_t pProjection,EVREye eEye)
{
EVROverlayError result = FnTable.SetOverlayTransformProjection(ulOverlayHandle,eTrackingOrigin,ref pmatTrackingOriginToOverlayTransform,ref pProjection,eEye);
return result;
}
public EVROverlayError ShowOverlay(ulong ulOverlayHandle)
{
EVROverlayError result = FnTable.ShowOverlay(ulOverlayHandle);
@@ -3324,6 +3345,11 @@ public class CVROverlay
EVROverlayError result = FnTable.GetTransformForOverlayCoordinates(ulOverlayHandle,eTrackingOrigin,coordinatesInOverlay,ref pmatTransform);
return result;
}
public EVROverlayError WaitFrameSync(uint nTimeoutMs)
{
EVROverlayError result = FnTable.WaitFrameSync(nTimeoutMs);
return result;
}
// This is a terrible hack to workaround the fact that VRControllerState_t and VREvent_t were
// originally mis-compiled with the wrong packing for Linux and OSX.
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
@@ -4409,11 +4435,11 @@ public class CVRBlockQueue
{
FnTable = (IVRBlockQueue)Marshal.PtrToStructure(pInterface, typeof(IVRBlockQueue));
}
public EBlockQueueError Create(ref ulong pulQueueHandle,string pchPath,uint unBlockDataSize,uint unBlockHeaderSize,uint unBlockCount)
public EBlockQueueError Create(ref ulong pulQueueHandle,string pchPath,uint unBlockDataSize,uint unBlockHeaderSize,uint unBlockCount,uint unFlags)
{
pulQueueHandle = 0;
IntPtr pchPathUtf8 = Utils.ToUtf8(pchPath);
EBlockQueueError result = FnTable.Create(ref pulQueueHandle,pchPathUtf8,unBlockDataSize,unBlockHeaderSize,unBlockCount);
EBlockQueueError result = FnTable.Create(ref pulQueueHandle,pchPathUtf8,unBlockDataSize,unBlockHeaderSize,unBlockCount,unFlags);
Marshal.FreeHGlobal(pchPathUtf8);
return result;
}
@@ -4613,6 +4639,8 @@ public enum ETrackedDeviceProperty
Prop_ManufacturerSerialNumber_String = 1049,
Prop_ComputedSerialNumber_String = 1050,
Prop_EstimatedDeviceFirstUseTime_Int32 = 1051,
Prop_DevicePowerUsage_Float = 1052,
Prop_IgnoreMotionForStandby_Bool = 1053,
Prop_ReportsTimeSinceVSync_Bool = 2000,
Prop_SecondsFromVsyncToPhotons_Float = 2001,
Prop_DisplayFrequency_Float = 2002,
@@ -4689,6 +4717,7 @@ public enum ETrackedDeviceProperty
Prop_DriverProvidedChaperoneVisibility_Bool = 2076,
Prop_HmdColumnCorrectionSettingPrefix_String = 2077,
Prop_CameraSupportsCompatibilityModes_Bool = 2078,
Prop_SupportsRoomViewDepthProjection_Bool = 2079,
Prop_DisplayAvailableFrameRates_Float_Array = 2080,
Prop_DisplaySupportsMultipleFramerates_Bool = 2081,
Prop_DisplayColorMultLeft_Vector3 = 2082,
@@ -4697,9 +4726,24 @@ public enum ETrackedDeviceProperty
Prop_DisplaySupportsAnalogGain_Bool = 2085,
Prop_DisplayMinAnalogGain_Float = 2086,
Prop_DisplayMaxAnalogGain_Float = 2087,
Prop_CameraExposureTime_Float = 2088,
Prop_CameraGlobalGain_Float = 2089,
Prop_DashboardScale_Float = 2091,
Prop_PeerButtonInfo_String = 2092,
Prop_Hmd_SupportsHDR10_Bool = 2093,
Prop_Hmd_EnableParallelRenderCameras_Bool = 2094,
Prop_DriverProvidedChaperoneJson_String = 2095,
Prop_IpdUIRangeMinMeters_Float = 2100,
Prop_IpdUIRangeMaxMeters_Float = 2101,
Prop_Hmd_SupportsHDCP14LegacyCompat_Bool = 2102,
Prop_Hmd_SupportsMicMonitoring_Bool = 2103,
Prop_Hmd_SupportsDisplayPortTrainingMode_Bool = 2104,
Prop_Hmd_SupportsRoomViewDirect_Bool = 2105,
Prop_Hmd_SupportsAppThrottling_Bool = 2106,
Prop_Hmd_SupportsGpuBusMonitoring_Bool = 2107,
Prop_DSCVersion_Int32 = 2110,
Prop_DSCSliceCount_Int32 = 2111,
Prop_DSCBPPx16_Int32 = 2112,
Prop_DriverRequestedMuraCorrectionMode_Int32 = 2200,
Prop_DriverRequestedMuraFeather_InnerLeft_Int32 = 2201,
Prop_DriverRequestedMuraFeather_InnerRight_Int32 = 2202,
@@ -4712,6 +4756,7 @@ public enum ETrackedDeviceProperty
Prop_Audio_DefaultPlaybackDeviceId_String = 2300,
Prop_Audio_DefaultRecordingDeviceId_String = 2301,
Prop_Audio_DefaultPlaybackDeviceVolume_Float = 2302,
Prop_Audio_SupportsDualSpeakerAndJackOutput_Bool = 2303,
Prop_AttachedDeviceId_String = 3000,
Prop_SupportedButtons_Uint64 = 3001,
Prop_Axis0Type_Int32 = 3002,
@@ -4793,6 +4838,9 @@ public enum EVRSubmitFlags
Submit_TextureWithDepth = 16,
Submit_FrameDiscontinuty = 32,
Submit_VulkanTextureWithArrayData = 64,
Submit_GlArrayTexture = 128,
Submit_Reserved2 = 32768,
Submit_Reserved3 = 65536,
}
public enum EVRState
{
@@ -4843,13 +4891,13 @@ public enum EVREventType
VREvent_InputFocusCaptured = 400,
VREvent_InputFocusReleased = 401,
VREvent_SceneApplicationChanged = 404,
VREvent_SceneFocusChanged = 405,
VREvent_InputFocusChanged = 406,
VREvent_SceneApplicationUsingWrongGraphicsAdapter = 408,
VREvent_ActionBindingReloaded = 409,
VREvent_HideRenderModels = 410,
VREvent_ShowRenderModels = 411,
VREvent_SceneApplicationStateChanged = 412,
VREvent_SceneAppPipeDisconnected = 413,
VREvent_ConsoleOpened = 420,
VREvent_ConsoleClosed = 421,
VREvent_OverlayShown = 500,
@@ -4878,6 +4926,11 @@ public enum EVREventType
VREvent_RoomViewHidden = 527,
VREvent_ShowUI = 528,
VREvent_ShowDevTools = 529,
VREvent_DesktopViewUpdating = 530,
VREvent_DesktopViewReady = 531,
VREvent_StartDashboard = 532,
VREvent_ElevatePrism = 533,
VREvent_OverlayClosed = 534,
VREvent_Notification_Shown = 600,
VREvent_Notification_Hidden = 601,
VREvent_Notification_BeginInteraction = 602,
@@ -4887,6 +4940,7 @@ public enum EVREventType
VREvent_QuitAcknowledged = 703,
VREvent_DriverRequestedQuit = 704,
VREvent_RestartRequested = 705,
VREvent_InvalidateSwapTextureSets = 706,
VREvent_ChaperoneDataHasChanged = 800,
VREvent_ChaperoneUniverseHasChanged = 801,
VREvent_ChaperoneTempDataHasChanged = 802,
@@ -4895,6 +4949,7 @@ public enum EVREventType
VREvent_ChaperoneFlushCache = 805,
VREvent_ChaperoneRoomSetupStarting = 806,
VREvent_ChaperoneRoomSetupFinished = 807,
VREvent_StandingZeroPoseReset = 808,
VREvent_AudioSettingsHaveChanged = 820,
VREvent_BackgroundSettingHasChanged = 850,
VREvent_CameraSettingsHaveChanged = 851,
@@ -4940,6 +4995,7 @@ public enum EVREventType
VREvent_Compositor_OutOfVideoMemory = 1417,
VREvent_Compositor_DisplayModeNotSupported = 1418,
VREvent_Compositor_StageOverrideReady = 1419,
VREvent_Compositor_RequestDisconnectReconnect = 1420,
VREvent_TrackedCamera_StartVideoStream = 1500,
VREvent_TrackedCamera_StopVideoStream = 1501,
VREvent_TrackedCamera_PauseVideoStream = 1502,
@@ -5000,6 +5056,8 @@ public enum EVRButtonId
k_EButton_IndexController_A = 2,
k_EButton_IndexController_B = 1,
k_EButton_IndexController_JoyStick = 35,
k_EButton_Reserved0 = 50,
k_EButton_Reserved1 = 51,
k_EButton_Max = 64,
}
public enum EVRMouseButton
@@ -5130,6 +5188,7 @@ public enum EVROverlayError
TextureAlreadyLocked = 31,
TextureLockCapacityReached = 32,
TextureNotLocked = 33,
TimedOut = 34,
}
public enum EVRApplicationType
{
@@ -5142,7 +5201,12 @@ public enum EVRApplicationType
VRApplication_SteamWatchdog = 6,
VRApplication_Bootstrapper = 7,
VRApplication_WebHelper = 8,
VRApplication_Max = 9,
VRApplication_OpenXRInstance = 9,
VRApplication_OpenXRScene = 10,
VRApplication_OpenXROverlay = 11,
VRApplication_Prism = 12,
VRApplication_RoomView = 13,
VRApplication_Max = 14,
}
public enum EVRFirmwareError
{
@@ -5222,6 +5286,27 @@ public enum EVRInitError
Init_FailedForVrMonitor = 144,
Init_PropertyManagerInitFailed = 145,
Init_WebServerFailed = 146,
Init_IllegalTypeTransition = 147,
Init_MismatchedRuntimes = 148,
Init_InvalidProcessId = 149,
Init_VRServiceStartupFailed = 150,
Init_PrismNeedsNewDrivers = 151,
Init_PrismStartupTimedOut = 152,
Init_CouldNotStartPrism = 153,
Init_PrismClientInitFailed = 154,
Init_PrismClientStartFailed = 155,
Init_PrismExitedUnexpectedly = 156,
Init_BadLuid = 157,
Init_NoServerForAppContainer = 158,
Init_DuplicateBootstrapper = 159,
Init_VRDashboardServicePending = 160,
Init_VRDashboardServiceTimeout = 161,
Init_VRDashboardServiceStopped = 162,
Init_VRDashboardAlreadyStarted = 163,
Init_VRDashboardCopyFailed = 164,
Init_VRDashboardTokenFailure = 165,
Init_VRDashboardEnvironmentFailure = 166,
Init_VRDashboardPathFailure = 167,
Driver_Failed = 200,
Driver_Unknown = 201,
Driver_HmdUnknown = 202,
@@ -5235,6 +5320,8 @@ public enum EVRInitError
Driver_HmdDriverIdOutOfBounds = 211,
Driver_HmdDisplayMirrored = 212,
Driver_HmdDisplayNotFoundLaptop = 213,
Driver_PeerDriverNotInstalled = 214,
Driver_WirelessHmdNotConnected = 215,
IPC_ServerInitFailed = 300,
IPC_ConnectFailed = 301,
IPC_SharedStateInitFailed = 302,
@@ -5337,8 +5424,14 @@ public enum EVRInitError
Compositor_CreateOverlayInvalidCall = 488,
Compositor_CreateOverlayAlreadyInitialized = 489,
Compositor_FailedToCreateMailbox = 490,
Compositor_WindowInterfaceIsNull = 491,
Compositor_SystemLayerCreateInstance = 492,
Compositor_SystemLayerCreateSession = 493,
Compositor_CreateInverseDistortUVs = 494,
Compositor_CreateBackbufferDepth = 495,
VendorSpecific_UnableToConnectToOculusRuntime = 1000,
VendorSpecific_WindowsNotInDevMode = 1001,
VendorSpecific_OculusLinkNotEnabled = 1002,
VendorSpecific_HmdFound_CantOpenDevice = 1101,
VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102,
VendorSpecific_HmdFound_NoStoredConfig = 1103,
@@ -5353,6 +5446,7 @@ public enum EVRInitError
VendorSpecific_HmdFound_UserDataError = 1112,
VendorSpecific_HmdFound_ConfigFailedSanityCheck = 1113,
VendorSpecific_OculusRuntimeBadInstall = 1114,
VendorSpecific_HmdFound_UnexpectedConfiguration_1 = 1115,
Steam_SteamInstallationNotFound = 2000,
LastError = 2001,
}
@@ -5454,6 +5548,7 @@ public enum EVRApplicationError
PropertyNotSet = 201,
UnknownProperty = 202,
InvalidParameter = 203,
NotImplemented = 300,
}
public enum EVRApplicationProperty
{
@@ -5538,12 +5633,13 @@ public enum VROverlayTransformType
VROverlayTransform_Invalid = -1,
VROverlayTransform_Absolute = 0,
VROverlayTransform_TrackedDeviceRelative = 1,
VROverlayTransform_SystemOverlay = 2,
VROverlayTransform_TrackedComponent = 3,
VROverlayTransform_Cursor = 4,
VROverlayTransform_DashboardTab = 5,
VROverlayTransform_DashboardThumb = 6,
VROverlayTransform_Mountable = 7,
VROverlayTransform_Projection = 8,
VROverlayTransform_Subview = 9,
}
public enum VROverlayFlags
{
@@ -5564,6 +5660,8 @@ public enum VROverlayFlags
HideLaserIntersection = 524288,
WantsModalBehavior = 1048576,
IsPremultiplied = 2097152,
IgnoreTextureAlpha = 4194304,
Reserved = 67108864,
}
public enum VRMessageOverlayResponse
{
@@ -5631,6 +5729,7 @@ public enum EVRRenderModelTextureFormat
BC4 = 2,
BC7 = 3,
BC7_SRGB = 4,
RGBA16_FLOAT = 5,
}
public enum EVRNotificationType
{
@@ -5757,6 +5856,10 @@ public enum EBlockQueueReadType
BlockQueueRead_New = 1,
BlockQueueRead_Next = 2,
}
public enum EBlockQueueCreationFlag
{
BlockQueueFlag_OwnerIsReader = 1,
}
[StructLayout(LayoutKind.Explicit)] public struct VREvent_Data_t
{
@@ -5937,6 +6040,11 @@ public enum EBlockQueueReadType
public HmdVector2_t vTopLeft;
public HmdVector2_t vBottomRight;
}
[StructLayout(LayoutKind.Sequential)] public struct VRBoneTransform_t
{
public HmdVector4_t position;
public HmdQuaternionf_t orientation;
}
[StructLayout(LayoutKind.Sequential)] public struct DistortionCoordinates_t
{
public float rfRed0; //float[2]
@@ -5952,17 +6060,6 @@ public enum EBlockQueueReadType
public ETextureType eType;
public EColorSpace eColorSpace;
}
[StructLayout(LayoutKind.Sequential)] public struct TrackedDevicePose_t
{
public HmdMatrix34_t mDeviceToAbsoluteTracking;
public HmdVector3_t vVelocity;
public HmdVector3_t vAngularVelocity;
public ETrackingResult eTrackingResult;
[MarshalAs(UnmanagedType.I1)]
public bool bPoseIsValid;
[MarshalAs(UnmanagedType.I1)]
public bool bDeviceIsConnected;
}
[StructLayout(LayoutKind.Sequential)] public struct VRTextureBounds_t
{
public float uMin;
@@ -5972,6 +6069,9 @@ public enum EBlockQueueReadType
}
[StructLayout(LayoutKind.Sequential)] public struct VRTextureWithPose_t
{
public IntPtr handle; // void *
public ETextureType eType;
public EColorSpace eColorSpace;
public HmdMatrix34_t mDeviceToAbsoluteTracking;
}
[StructLayout(LayoutKind.Sequential)] public struct VRTextureDepthInfo_t
@@ -5982,12 +6082,30 @@ public enum EBlockQueueReadType
}
[StructLayout(LayoutKind.Sequential)] public struct VRTextureWithDepth_t
{
public IntPtr handle; // void *
public ETextureType eType;
public EColorSpace eColorSpace;
public VRTextureDepthInfo_t depth;
}
[StructLayout(LayoutKind.Sequential)] public struct VRTextureWithPoseAndDepth_t
{
public IntPtr handle; // void *
public ETextureType eType;
public EColorSpace eColorSpace;
public HmdMatrix34_t mDeviceToAbsoluteTracking;
public VRTextureDepthInfo_t depth;
}
[StructLayout(LayoutKind.Sequential)] public struct TrackedDevicePose_t
{
public HmdMatrix34_t mDeviceToAbsoluteTracking;
public HmdVector3_t vVelocity;
public HmdVector3_t vAngularVelocity;
public ETrackingResult eTrackingResult;
[MarshalAs(UnmanagedType.I1)]
public bool bPoseIsValid;
[MarshalAs(UnmanagedType.I1)]
public bool bDeviceIsConnected;
}
[StructLayout(LayoutKind.Sequential)] public struct VRVulkanTextureData_t
{
public ulong m_nImage;
@@ -6057,6 +6175,7 @@ public enum EBlockQueueReadType
{
public ulong overlayHandle;
public ulong devicePath;
public ulong memoryBlockId;
}
[StructLayout(LayoutKind.Sequential)] public struct VREvent_Status_t
{
@@ -6279,11 +6398,6 @@ public enum EBlockQueueReadType
unpacked.rAxis4 = this.rAxis4;
}
}
[StructLayout(LayoutKind.Sequential)] public struct VRBoneTransform_t
{
public HmdVector4_t position;
public HmdQuaternionf_t orientation;
}
[StructLayout(LayoutKind.Sequential)] public struct CameraVideoStreamFrameHeader_t
{
public EVRTrackedCameraFrameType eFrameType;
@@ -6365,6 +6479,13 @@ public enum EBlockQueueReadType
public uint m_nNumFramePresentsTimedOut;
public uint m_nNumDroppedFramesTimedOut;
public uint m_nNumReprojectedFramesTimedOut;
public uint m_nNumFrameSubmits;
public vrshared_double m_flSumCompositorCPUTimeMS;
public vrshared_double m_flSumCompositorGPUTimeMS;
public vrshared_double m_flSumTargetFrameTimes;
public vrshared_double m_flSumApplicationCPUTimeMS;
public vrshared_double m_flSumApplicationGPUTimeMS;
public uint m_nNumFramesWithDepth;
}
[StructLayout(LayoutKind.Sequential)] public struct Compositor_StageRenderSettings
{
@@ -6411,6 +6532,13 @@ public enum EBlockQueueReadType
public EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType;
public VROverlayIntersectionMaskPrimitive_Data_t m_Primitive;
}
[StructLayout(LayoutKind.Sequential)] public struct VROverlayProjection_t
{
public float fLeft;
public float fRight;
public float fTop;
public float fBottom;
}
[StructLayout(LayoutKind.Sequential)] public struct VROverlayView_t
{
public ulong overlayHandle;
@@ -6443,6 +6571,7 @@ public enum EBlockQueueReadType
public ushort unHeight;
public IntPtr rubTextureMapData; // const uint8_t *
public EVRRenderModelTextureFormat format;
public ushort unMipLevels;
}
// This structure is for backwards binary compatibility on Linux and OSX only
[StructLayout(LayoutKind.Sequential, Pack = 4)] public struct RenderModel_TextureMap_t_Packed
@@ -6451,12 +6580,14 @@ public enum EBlockQueueReadType
public ushort unHeight;
public IntPtr rubTextureMapData; // const uint8_t *
public EVRRenderModelTextureFormat format;
public ushort unMipLevels;
public RenderModel_TextureMap_t_Packed(RenderModel_TextureMap_t unpacked)
{
this.unWidth = unpacked.unWidth;
this.unHeight = unpacked.unHeight;
this.rubTextureMapData = unpacked.rubTextureMapData;
this.format = unpacked.format;
this.unMipLevels = unpacked.unMipLevels;
}
public void Unpack(ref RenderModel_TextureMap_t unpacked)
{
@@ -6464,6 +6595,7 @@ public enum EBlockQueueReadType
unpacked.unHeight = this.unHeight;
unpacked.rubTextureMapData = this.rubTextureMapData;
unpacked.format = this.format;
unpacked.unMipLevels = this.unMipLevels;
}
}
[StructLayout(LayoutKind.Sequential)] public struct RenderModel_t
@@ -7488,21 +7620,21 @@ public class OpenVR
public const ulong k_ulOverlayHandleInvalid = 0;
public const uint k_unMaxDistortionFunctionParameters = 8;
public const uint k_unScreenshotHandleInvalid = 0;
public const string IVRSystem_Version = "IVRSystem_021";
public const string IVRSystem_Version = "IVRSystem_022";
public const string IVRExtendedDisplay_Version = "IVRExtendedDisplay_001";
public const string IVRTrackedCamera_Version = "IVRTrackedCamera_006";
public const uint k_unMaxApplicationKeyLength = 128;
public const string k_pch_MimeType_HomeApp = "vr/home";
public const string k_pch_MimeType_GameTheater = "vr/game_theater";
public const string IVRApplications_Version = "IVRApplications_007";
public const string IVRChaperone_Version = "IVRChaperone_003";
public const string IVRChaperone_Version = "IVRChaperone_004";
public const string IVRChaperoneSetup_Version = "IVRChaperoneSetup_006";
public const string IVRCompositor_Version = "IVRCompositor_026";
public const string IVRCompositor_Version = "IVRCompositor_027";
public const uint k_unVROverlayMaxKeyLength = 128;
public const uint k_unVROverlayMaxNameLength = 128;
public const uint k_unMaxOverlayCount = 128;
public const uint k_unMaxOverlayIntersectionMaskPrimitivesCount = 32;
public const string IVROverlay_Version = "IVROverlay_024";
public const string IVROverlay_Version = "IVROverlay_027";
public const string IVROverlayView_Version = "IVROverlayView_003";
public const uint k_unHeadsetViewMaxWidth = 3840;
public const uint k_unHeadsetViewMaxHeight = 2160;
@@ -7537,6 +7669,7 @@ public class OpenVR
public const string k_pch_SteamVR_PlayAreaColor_String = "playAreaColor";
public const string k_pch_SteamVR_TrackingLossColor_String = "trackingLossColor";
public const string k_pch_SteamVR_ShowStage_Bool = "showStage";
public const string k_pch_SteamVR_DrawTrackingReferences_Bool = "drawTrackingReferences";
public const string k_pch_SteamVR_ActivateMultipleDrivers_Bool = "activateMultipleDrivers";
public const string k_pch_SteamVR_UsingSpeakers_Bool = "usingSpeakers";
public const string k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees";
@@ -7547,6 +7680,10 @@ public class OpenVR
public const string k_pch_SteamVR_MaxRecommendedResolution_Int32 = "maxRecommendedResolution";
public const string k_pch_SteamVR_MotionSmoothing_Bool = "motionSmoothing";
public const string k_pch_SteamVR_MotionSmoothingOverride_Int32 = "motionSmoothingOverride";
public const string k_pch_SteamVR_FramesToThrottle_Int32 = "framesToThrottle";
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_DisableAsyncReprojection_Bool = "disableAsync";
public const string k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
public const string k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
@@ -7573,7 +7710,6 @@ public class OpenVR
public const string k_pch_SteamVR_ForceWindows32bitVRMonitor = "forceWindows32BitVRMonitor";
public const string k_pch_SteamVR_DebugInputBinding = "debugInputBinding";
public const string k_pch_SteamVR_DoNotFadeToGrid = "doNotFadeToGrid";
public const string k_pch_SteamVR_RenderCameraMode = "renderCameraMode";
public const string k_pch_SteamVR_EnableSharedResourceJournaling = "enableSharedResourceJournaling";
public const string k_pch_SteamVR_EnableSafeMode = "enableSafeMode";
public const string k_pch_SteamVR_PreferredRefreshRate = "preferredRefreshRate";
@@ -7589,6 +7725,9 @@ public class OpenVR
public const string k_pch_SteamVR_OverlayRenderQuality = "overlayRenderQuality_2";
public const string k_pch_SteamVR_BlockOculusSDKOnOpenVRLaunchOption_Bool = "blockOculusSDKOnOpenVRLaunchOption";
public const string k_pch_SteamVR_BlockOculusSDKOnAllLaunches_Bool = "blockOculusSDKOnAllLaunches";
public const string k_pch_SteamVR_HDCPLegacyCompatibility_Bool = "hdcp14legacyCompatibility";
public const string k_pch_SteamVR_DisplayPortTrainingMode_Int = "displayPortTrainingMode";
public const string k_pch_SteamVR_UsePrism_Bool = "usePrism";
public const string k_pch_DirectMode_Section = "direct_mode";
public const string k_pch_DirectMode_Enable_Bool = "enable";
public const string k_pch_DirectMode_Count_Int32 = "count";
@@ -7640,6 +7779,7 @@ public class OpenVR
public const string k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit";
public const string k_pch_Perf_TestData_Float = "perfTestData";
public const string k_pch_Perf_GPUProfiling_Bool = "GPUProfiling";
public const string k_pch_Perf_GpuBusMonitoring_Bool = "gpuBusMonitoring";
public const string k_pch_CollisionBounds_Section = "collisionBounds";
public const string k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle";
public const string k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn";
@@ -7654,15 +7794,15 @@ public class OpenVR
public const string k_pch_CollisionBounds_EnableDriverImport = "enableDriverBoundsImport";
public const string k_pch_Camera_Section = "camera";
public const string k_pch_Camera_EnableCamera_Bool = "enableCamera";
public const string k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard";
public const string k_pch_Camera_ShowOnController_Bool = "showOnController";
public const string k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds";
public const string k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView";
public const string k_pch_Camera_RoomView_Int32 = "roomView";
public const string k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR";
public const string k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG";
public const string k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB";
public const string k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA";
public const string k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength";
public const string k_pch_Camera_RoomViewMode_Int32 = "cameraRoomViewMode";
public const string k_pch_Camera_RoomViewStyle_Int32 = "roomViewStyle";
public const string k_pch_audio_Section = "audio";
public const string k_pch_audio_SetOsDefaultPlaybackDevice_Bool = "setOsDefaultPlaybackDevice";
public const string k_pch_audio_EnablePlaybackDeviceOverride_Bool = "enablePlaybackDeviceOverride";
@@ -7680,6 +7820,8 @@ public class OpenVR
public const string k_pch_audio_EnablePlaybackMirrorIndependentVolume_Bool = "enablePlaybackMirrorIndependentVolume";
public const string k_pch_audio_LastHmdPlaybackDeviceId_String = "lastHmdPlaybackDeviceId";
public const string k_pch_audio_VIVEHDMIGain = "viveHDMIGain";
public const string k_pch_audio_DualSpeakerAndJackOutput_Bool = "dualSpeakerAndJackOutput";
public const string k_pch_audio_MuteMicMonitor_Bool = "muteMicMonitor";
public const string k_pch_Power_Section = "power";
public const string k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit";
public const string k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout";
@@ -7693,6 +7835,9 @@ public class OpenVR
public const string k_pch_Dashboard_Position = "position";
public const string k_pch_Dashboard_DesktopScale = "desktopScale";
public const string k_pch_Dashboard_DashboardScale = "dashboardScale";
public const string k_pch_Dashboard_UseStandaloneSystemLayer = "standaloneSystemLayer";
public const string k_pch_Dashboard_StickyDashboard = "stickyDashboard";
public const string k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays";
public const string k_pch_modelskin_Section = "modelskins";
public const string k_pch_Driver_Enable_Bool = "enable";
public const string k_pch_Driver_BlockedBySafemode_Bool = "blocked_by_safe_mode";
@@ -7705,6 +7850,7 @@ public class OpenVR
public const string k_pch_App_BindingAutosaveURLSuffix_String = "AutosaveURL";
public const string k_pch_App_BindingLegacyAPISuffix_String = "_legacy";
public const string k_pch_App_BindingSteamVRInputAPISuffix_String = "_steamvrinput";
public const string k_pch_App_BindingOpenXRAPISuffix_String = "_openxr";
public const string k_pch_App_BindingCurrentURLSuffix_String = "CurrentURL";
public const string k_pch_App_BindingPreviousURLSuffix_String = "PreviousURL";
public const string k_pch_App_NeedToUpdateAutosaveSuffix_Bool = "NeedToUpdateAutosave";
@@ -7754,6 +7900,7 @@ public class OpenVR
public const string k_pchPathBoundTrackerRole = "/bound_tracker_role";
public const string k_pchPathPoseRaw = "/pose/raw";
public const string k_pchPathPoseTip = "/pose/tip";
public const string k_pchPathPoseGrip = "/pose/grip";
public const string k_pchPathSystemButtonClick = "/input/system/click";
public const string k_pchPathProximity = "/proximity";
public const string k_pchPathControllerTypePrefix = "/controller_type/";
@@ -7771,6 +7918,10 @@ public class OpenVR
public const string k_pchPathUserElbowRight = "/user/elbow/right";
public const string k_pchPathUserKneeLeft = "/user/knee/left";
public const string k_pchPathUserKneeRight = "/user/knee/right";
public const string k_pchPathUserWristLeft = "/user/wrist/left";
public const string k_pchPathUserWristRight = "/user/wrist/right";
public const string k_pchPathUserAnkleLeft = "/user/ankle/left";
public const string k_pchPathUserAnkleRight = "/user/ankle/right";
public const string k_pchPathUserWaist = "/user/waist";
public const string k_pchPathUserChest = "/user/chest";
public const string k_pchPathUserCamera = "/user/camera";
@@ -7778,7 +7929,7 @@ public class OpenVR
public const string k_pchPathClientAppKey = "/client_info/app_key";
public const ulong k_ulInvalidPathHandle = 0;
public const string IVRPaths_Version = "IVRPaths_001";
public const string IVRBlockQueue_Version = "IVRBlockQueue_004";
public const string IVRBlockQueue_Version = "IVRBlockQueue_005";
static uint VRToken { get; set; }
@@ -8144,4 +8295,5 @@ public class OpenVR
}
#endif
+207 -54
View File
@@ -1,4 +1,7 @@
{"typedefs":[{"typedef": "vr::SpatialAnchorHandle_t","type": "uint32_t"}
{"typedefs":[{"typedef": "vr::PropertyTypeTag_t","type": "uint32_t"}
,{"typedef": "vr::vrshared_uint64_t","type": "uint64_t"}
,{"typedef": "vr::vrshared_double","type": "double"}
,{"typedef": "vr::SpatialAnchorHandle_t","type": "uint32_t"}
,{"typedef": "vr::glSharedTextureHandle_t","type": "void *"}
,{"typedef": "vr::glInt_t","type": "int32_t"}
,{"typedef": "vr::glUInt_t","type": "uint32_t"}
@@ -152,6 +155,8 @@
,{"name": "Prop_ManufacturerSerialNumber_String","value": "1049"}
,{"name": "Prop_ComputedSerialNumber_String","value": "1050"}
,{"name": "Prop_EstimatedDeviceFirstUseTime_Int32","value": "1051"}
,{"name": "Prop_DevicePowerUsage_Float","value": "1052"}
,{"name": "Prop_IgnoreMotionForStandby_Bool","value": "1053"}
,{"name": "Prop_ReportsTimeSinceVSync_Bool","value": "2000"}
,{"name": "Prop_SecondsFromVsyncToPhotons_Float","value": "2001"}
,{"name": "Prop_DisplayFrequency_Float","value": "2002"}
@@ -228,6 +233,7 @@
,{"name": "Prop_DriverProvidedChaperoneVisibility_Bool","value": "2076"}
,{"name": "Prop_HmdColumnCorrectionSettingPrefix_String","value": "2077"}
,{"name": "Prop_CameraSupportsCompatibilityModes_Bool","value": "2078"}
,{"name": "Prop_SupportsRoomViewDepthProjection_Bool","value": "2079"}
,{"name": "Prop_DisplayAvailableFrameRates_Float_Array","value": "2080"}
,{"name": "Prop_DisplaySupportsMultipleFramerates_Bool","value": "2081"}
,{"name": "Prop_DisplayColorMultLeft_Vector3","value": "2082"}
@@ -236,9 +242,24 @@
,{"name": "Prop_DisplaySupportsAnalogGain_Bool","value": "2085"}
,{"name": "Prop_DisplayMinAnalogGain_Float","value": "2086"}
,{"name": "Prop_DisplayMaxAnalogGain_Float","value": "2087"}
,{"name": "Prop_CameraExposureTime_Float","value": "2088"}
,{"name": "Prop_CameraGlobalGain_Float","value": "2089"}
,{"name": "Prop_DashboardScale_Float","value": "2091"}
,{"name": "Prop_PeerButtonInfo_String","value": "2092"}
,{"name": "Prop_Hmd_SupportsHDR10_Bool","value": "2093"}
,{"name": "Prop_Hmd_EnableParallelRenderCameras_Bool","value": "2094"}
,{"name": "Prop_DriverProvidedChaperoneJson_String","value": "2095"}
,{"name": "Prop_IpdUIRangeMinMeters_Float","value": "2100"}
,{"name": "Prop_IpdUIRangeMaxMeters_Float","value": "2101"}
,{"name": "Prop_Hmd_SupportsHDCP14LegacyCompat_Bool","value": "2102"}
,{"name": "Prop_Hmd_SupportsMicMonitoring_Bool","value": "2103"}
,{"name": "Prop_Hmd_SupportsDisplayPortTrainingMode_Bool","value": "2104"}
,{"name": "Prop_Hmd_SupportsRoomViewDirect_Bool","value": "2105"}
,{"name": "Prop_Hmd_SupportsAppThrottling_Bool","value": "2106"}
,{"name": "Prop_Hmd_SupportsGpuBusMonitoring_Bool","value": "2107"}
,{"name": "Prop_DSCVersion_Int32","value": "2110"}
,{"name": "Prop_DSCSliceCount_Int32","value": "2111"}
,{"name": "Prop_DSCBPPx16_Int32","value": "2112"}
,{"name": "Prop_DriverRequestedMuraCorrectionMode_Int32","value": "2200"}
,{"name": "Prop_DriverRequestedMuraFeather_InnerLeft_Int32","value": "2201"}
,{"name": "Prop_DriverRequestedMuraFeather_InnerRight_Int32","value": "2202"}
@@ -251,6 +272,7 @@
,{"name": "Prop_Audio_DefaultPlaybackDeviceId_String","value": "2300"}
,{"name": "Prop_Audio_DefaultRecordingDeviceId_String","value": "2301"}
,{"name": "Prop_Audio_DefaultPlaybackDeviceVolume_Float","value": "2302"}
,{"name": "Prop_Audio_SupportsDualSpeakerAndJackOutput_Bool","value": "2303"}
,{"name": "Prop_AttachedDeviceId_String","value": "3000"}
,{"name": "Prop_SupportedButtons_Uint64","value": "3001"}
,{"name": "Prop_Axis0Type_Int32","value": "3002"}
@@ -329,6 +351,9 @@
,{"name": "Submit_TextureWithDepth","value": "16"}
,{"name": "Submit_FrameDiscontinuty","value": "32"}
,{"name": "Submit_VulkanTextureWithArrayData","value": "64"}
,{"name": "Submit_GlArrayTexture","value": "128"}
,{"name": "Submit_Reserved2","value": "32768"}
,{"name": "Submit_Reserved3","value": "65536"}
]}
, {"enumname": "vr::EVRState","values": [
{"name": "VRState_Undefined","value": "-1"}
@@ -377,13 +402,13 @@
,{"name": "VREvent_InputFocusCaptured","value": "400"}
,{"name": "VREvent_InputFocusReleased","value": "401"}
,{"name": "VREvent_SceneApplicationChanged","value": "404"}
,{"name": "VREvent_SceneFocusChanged","value": "405"}
,{"name": "VREvent_InputFocusChanged","value": "406"}
,{"name": "VREvent_SceneApplicationUsingWrongGraphicsAdapter","value": "408"}
,{"name": "VREvent_ActionBindingReloaded","value": "409"}
,{"name": "VREvent_HideRenderModels","value": "410"}
,{"name": "VREvent_ShowRenderModels","value": "411"}
,{"name": "VREvent_SceneApplicationStateChanged","value": "412"}
,{"name": "VREvent_SceneAppPipeDisconnected","value": "413"}
,{"name": "VREvent_ConsoleOpened","value": "420"}
,{"name": "VREvent_ConsoleClosed","value": "421"}
,{"name": "VREvent_OverlayShown","value": "500"}
@@ -412,6 +437,11 @@
,{"name": "VREvent_RoomViewHidden","value": "527"}
,{"name": "VREvent_ShowUI","value": "528"}
,{"name": "VREvent_ShowDevTools","value": "529"}
,{"name": "VREvent_DesktopViewUpdating","value": "530"}
,{"name": "VREvent_DesktopViewReady","value": "531"}
,{"name": "VREvent_StartDashboard","value": "532"}
,{"name": "VREvent_ElevatePrism","value": "533"}
,{"name": "VREvent_OverlayClosed","value": "534"}
,{"name": "VREvent_Notification_Shown","value": "600"}
,{"name": "VREvent_Notification_Hidden","value": "601"}
,{"name": "VREvent_Notification_BeginInteraction","value": "602"}
@@ -421,6 +451,7 @@
,{"name": "VREvent_QuitAcknowledged","value": "703"}
,{"name": "VREvent_DriverRequestedQuit","value": "704"}
,{"name": "VREvent_RestartRequested","value": "705"}
,{"name": "VREvent_InvalidateSwapTextureSets","value": "706"}
,{"name": "VREvent_ChaperoneDataHasChanged","value": "800"}
,{"name": "VREvent_ChaperoneUniverseHasChanged","value": "801"}
,{"name": "VREvent_ChaperoneTempDataHasChanged","value": "802"}
@@ -429,6 +460,7 @@
,{"name": "VREvent_ChaperoneFlushCache","value": "805"}
,{"name": "VREvent_ChaperoneRoomSetupStarting","value": "806"}
,{"name": "VREvent_ChaperoneRoomSetupFinished","value": "807"}
,{"name": "VREvent_StandingZeroPoseReset","value": "808"}
,{"name": "VREvent_AudioSettingsHaveChanged","value": "820"}
,{"name": "VREvent_BackgroundSettingHasChanged","value": "850"}
,{"name": "VREvent_CameraSettingsHaveChanged","value": "851"}
@@ -474,6 +506,7 @@
,{"name": "VREvent_Compositor_OutOfVideoMemory","value": "1417"}
,{"name": "VREvent_Compositor_DisplayModeNotSupported","value": "1418"}
,{"name": "VREvent_Compositor_StageOverrideReady","value": "1419"}
,{"name": "VREvent_Compositor_RequestDisconnectReconnect","value": "1420"}
,{"name": "VREvent_TrackedCamera_StartVideoStream","value": "1500"}
,{"name": "VREvent_TrackedCamera_StopVideoStream","value": "1501"}
,{"name": "VREvent_TrackedCamera_PauseVideoStream","value": "1502"}
@@ -532,6 +565,8 @@
,{"name": "k_EButton_IndexController_A","value": "2"}
,{"name": "k_EButton_IndexController_B","value": "1"}
,{"name": "k_EButton_IndexController_JoyStick","value": "35"}
,{"name": "k_EButton_Reserved0","value": "50"}
,{"name": "k_EButton_Reserved1","value": "51"}
,{"name": "k_EButton_Max","value": "64"}
]}
, {"enumname": "vr::EVRMouseButton","values": [
@@ -651,6 +686,7 @@
,{"name": "VROverlayError_TextureAlreadyLocked","value": "31"}
,{"name": "VROverlayError_TextureLockCapacityReached","value": "32"}
,{"name": "VROverlayError_TextureNotLocked","value": "33"}
,{"name": "VROverlayError_TimedOut","value": "34"}
]}
, {"enumname": "vr::EVRApplicationType","values": [
{"name": "VRApplication_Other","value": "0"}
@@ -662,7 +698,12 @@
,{"name": "VRApplication_SteamWatchdog","value": "6"}
,{"name": "VRApplication_Bootstrapper","value": "7"}
,{"name": "VRApplication_WebHelper","value": "8"}
,{"name": "VRApplication_Max","value": "9"}
,{"name": "VRApplication_OpenXRInstance","value": "9"}
,{"name": "VRApplication_OpenXRScene","value": "10"}
,{"name": "VRApplication_OpenXROverlay","value": "11"}
,{"name": "VRApplication_Prism","value": "12"}
,{"name": "VRApplication_RoomView","value": "13"}
,{"name": "VRApplication_Max","value": "14"}
]}
, {"enumname": "vr::EVRFirmwareError","values": [
{"name": "VRFirmwareError_None","value": "0"}
@@ -737,6 +778,27 @@
,{"name": "VRInitError_Init_FailedForVrMonitor","value": "144"}
,{"name": "VRInitError_Init_PropertyManagerInitFailed","value": "145"}
,{"name": "VRInitError_Init_WebServerFailed","value": "146"}
,{"name": "VRInitError_Init_IllegalTypeTransition","value": "147"}
,{"name": "VRInitError_Init_MismatchedRuntimes","value": "148"}
,{"name": "VRInitError_Init_InvalidProcessId","value": "149"}
,{"name": "VRInitError_Init_VRServiceStartupFailed","value": "150"}
,{"name": "VRInitError_Init_PrismNeedsNewDrivers","value": "151"}
,{"name": "VRInitError_Init_PrismStartupTimedOut","value": "152"}
,{"name": "VRInitError_Init_CouldNotStartPrism","value": "153"}
,{"name": "VRInitError_Init_PrismClientInitFailed","value": "154"}
,{"name": "VRInitError_Init_PrismClientStartFailed","value": "155"}
,{"name": "VRInitError_Init_PrismExitedUnexpectedly","value": "156"}
,{"name": "VRInitError_Init_BadLuid","value": "157"}
,{"name": "VRInitError_Init_NoServerForAppContainer","value": "158"}
,{"name": "VRInitError_Init_DuplicateBootstrapper","value": "159"}
,{"name": "VRInitError_Init_VRDashboardServicePending","value": "160"}
,{"name": "VRInitError_Init_VRDashboardServiceTimeout","value": "161"}
,{"name": "VRInitError_Init_VRDashboardServiceStopped","value": "162"}
,{"name": "VRInitError_Init_VRDashboardAlreadyStarted","value": "163"}
,{"name": "VRInitError_Init_VRDashboardCopyFailed","value": "164"}
,{"name": "VRInitError_Init_VRDashboardTokenFailure","value": "165"}
,{"name": "VRInitError_Init_VRDashboardEnvironmentFailure","value": "166"}
,{"name": "VRInitError_Init_VRDashboardPathFailure","value": "167"}
,{"name": "VRInitError_Driver_Failed","value": "200"}
,{"name": "VRInitError_Driver_Unknown","value": "201"}
,{"name": "VRInitError_Driver_HmdUnknown","value": "202"}
@@ -750,6 +812,8 @@
,{"name": "VRInitError_Driver_HmdDriverIdOutOfBounds","value": "211"}
,{"name": "VRInitError_Driver_HmdDisplayMirrored","value": "212"}
,{"name": "VRInitError_Driver_HmdDisplayNotFoundLaptop","value": "213"}
,{"name": "VRInitError_Driver_PeerDriverNotInstalled","value": "214"}
,{"name": "VRInitError_Driver_WirelessHmdNotConnected","value": "215"}
,{"name": "VRInitError_IPC_ServerInitFailed","value": "300"}
,{"name": "VRInitError_IPC_ConnectFailed","value": "301"}
,{"name": "VRInitError_IPC_SharedStateInitFailed","value": "302"}
@@ -852,8 +916,14 @@
,{"name": "VRInitError_Compositor_CreateOverlayInvalidCall","value": "488"}
,{"name": "VRInitError_Compositor_CreateOverlayAlreadyInitialized","value": "489"}
,{"name": "VRInitError_Compositor_FailedToCreateMailbox","value": "490"}
,{"name": "VRInitError_Compositor_WindowInterfaceIsNull","value": "491"}
,{"name": "VRInitError_Compositor_SystemLayerCreateInstance","value": "492"}
,{"name": "VRInitError_Compositor_SystemLayerCreateSession","value": "493"}
,{"name": "VRInitError_Compositor_CreateInverseDistortUVs","value": "494"}
,{"name": "VRInitError_Compositor_CreateBackbufferDepth","value": "495"}
,{"name": "VRInitError_VendorSpecific_UnableToConnectToOculusRuntime","value": "1000"}
,{"name": "VRInitError_VendorSpecific_WindowsNotInDevMode","value": "1001"}
,{"name": "VRInitError_VendorSpecific_OculusLinkNotEnabled","value": "1002"}
,{"name": "VRInitError_VendorSpecific_HmdFound_CantOpenDevice","value": "1101"}
,{"name": "VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart","value": "1102"}
,{"name": "VRInitError_VendorSpecific_HmdFound_NoStoredConfig","value": "1103"}
@@ -868,6 +938,7 @@
,{"name": "VRInitError_VendorSpecific_HmdFound_UserDataError","value": "1112"}
,{"name": "VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck","value": "1113"}
,{"name": "VRInitError_VendorSpecific_OculusRuntimeBadInstall","value": "1114"}
,{"name": "VRInitError_VendorSpecific_HmdFound_UnexpectedConfiguration_1","value": "1115"}
,{"name": "VRInitError_Steam_SteamInstallationNotFound","value": "2000"}
,{"name": "VRInitError_LastError","value": "2001"}
]}
@@ -959,6 +1030,7 @@
,{"name": "VRApplicationError_PropertyNotSet","value": "201"}
,{"name": "VRApplicationError_UnknownProperty","value": "202"}
,{"name": "VRApplicationError_InvalidParameter","value": "203"}
,{"name": "VRApplicationError_NotImplemented","value": "300"}
]}
, {"enumname": "vr::EVRApplicationProperty","values": [
{"name": "VRApplicationProperty_Name_String","value": "0"}
@@ -1034,12 +1106,13 @@
{"name": "VROverlayTransform_Invalid","value": "-1"}
,{"name": "VROverlayTransform_Absolute","value": "0"}
,{"name": "VROverlayTransform_TrackedDeviceRelative","value": "1"}
,{"name": "VROverlayTransform_SystemOverlay","value": "2"}
,{"name": "VROverlayTransform_TrackedComponent","value": "3"}
,{"name": "VROverlayTransform_Cursor","value": "4"}
,{"name": "VROverlayTransform_DashboardTab","value": "5"}
,{"name": "VROverlayTransform_DashboardThumb","value": "6"}
,{"name": "VROverlayTransform_Mountable","value": "7"}
,{"name": "VROverlayTransform_Projection","value": "8"}
,{"name": "VROverlayTransform_Subview","value": "9"}
]}
, {"enumname": "vr::VROverlayFlags","values": [
{"name": "VROverlayFlags_NoDashboardTab","value": "8"}
@@ -1059,6 +1132,8 @@
,{"name": "VROverlayFlags_HideLaserIntersection","value": "524288"}
,{"name": "VROverlayFlags_WantsModalBehavior","value": "1048576"}
,{"name": "VROverlayFlags_IsPremultiplied","value": "2097152"}
,{"name": "VROverlayFlags_IgnoreTextureAlpha","value": "4194304"}
,{"name": "VROverlayFlags_Reserved","value": "67108864"}
]}
, {"enumname": "vr::VRMessageOverlayResponse","values": [
{"name": "VRMessageOverlayResponse_ButtonPress_0","value": "0"}
@@ -1117,6 +1192,7 @@
,{"name": "VRRenderModelTextureFormat_BC4","value": "2"}
,{"name": "VRRenderModelTextureFormat_BC7","value": "3"}
,{"name": "VRRenderModelTextureFormat_BC7_SRGB","value": "4"}
,{"name": "VRRenderModelTextureFormat_RGBA16_FLOAT","value": "5"}
]}
, {"enumname": "vr::EVRNotificationType","values": [
{"name": "EVRNotificationType_Transient","value": "0"}
@@ -1226,6 +1302,9 @@
,{"name": "BlockQueueRead_New","value": "1"}
,{"name": "BlockQueueRead_Next","value": "2"}
]}
, {"enumname": "vr::EBlockQueueCreationFlag","values": [
{"name": "BlockQueueFlag_OwnerIsReader","value": "1"}
]}
],
"consts":[{
"constname": "k_nDriverNone","consttype": "const uint32_t", "constval": "4294967295"}
@@ -1312,7 +1391,7 @@
,{
"constname": "k_unScreenshotHandleInvalid","consttype": "const uint32_t", "constval": "0"}
,{
"constname": "IVRSystem_Version","consttype": "const char *const", "constval": "IVRSystem_021"}
"constname": "IVRSystem_Version","consttype": "const char *const", "constval": "IVRSystem_022"}
,{
"constname": "IVRExtendedDisplay_Version","consttype": "const char *const", "constval": "IVRExtendedDisplay_001"}
,{
@@ -1326,11 +1405,11 @@
,{
"constname": "IVRApplications_Version","consttype": "const char *const", "constval": "IVRApplications_007"}
,{
"constname": "IVRChaperone_Version","consttype": "const char *const", "constval": "IVRChaperone_003"}
"constname": "IVRChaperone_Version","consttype": "const char *const", "constval": "IVRChaperone_004"}
,{
"constname": "IVRChaperoneSetup_Version","consttype": "const char *const", "constval": "IVRChaperoneSetup_006"}
,{
"constname": "IVRCompositor_Version","consttype": "const char *const", "constval": "IVRCompositor_026"}
"constname": "IVRCompositor_Version","consttype": "const char *const", "constval": "IVRCompositor_027"}
,{
"constname": "k_unVROverlayMaxKeyLength","consttype": "const uint32_t", "constval": "128"}
,{
@@ -1340,7 +1419,7 @@
,{
"constname": "k_unMaxOverlayIntersectionMaskPrimitivesCount","consttype": "const uint32_t", "constval": "32"}
,{
"constname": "IVROverlay_Version","consttype": "const char *const", "constval": "IVROverlay_024"}
"constname": "IVROverlay_Version","consttype": "const char *const", "constval": "IVROverlay_027"}
,{
"constname": "IVROverlayView_Version","consttype": "const char *const", "constval": "IVROverlayView_003"}
,{
@@ -1409,6 +1488,8 @@
"constname": "k_pch_SteamVR_TrackingLossColor_String","consttype": "const char *const", "constval": "trackingLossColor"}
,{
"constname": "k_pch_SteamVR_ShowStage_Bool","consttype": "const char *const", "constval": "showStage"}
,{
"constname": "k_pch_SteamVR_DrawTrackingReferences_Bool","consttype": "const char *const", "constval": "drawTrackingReferences"}
,{
"constname": "k_pch_SteamVR_ActivateMultipleDrivers_Bool","consttype": "const char *const", "constval": "activateMultipleDrivers"}
,{
@@ -1429,6 +1510,14 @@
"constname": "k_pch_SteamVR_MotionSmoothing_Bool","consttype": "const char *const", "constval": "motionSmoothing"}
,{
"constname": "k_pch_SteamVR_MotionSmoothingOverride_Int32","consttype": "const char *const", "constval": "motionSmoothingOverride"}
,{
"constname": "k_pch_SteamVR_FramesToThrottle_Int32","consttype": "const char *const", "constval": "framesToThrottle"}
,{
"constname": "k_pch_SteamVR_AdditionalFramesToPredict_Int32","consttype": "const char *const", "constval": "additionalFramesToPredict"}
,{
"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_DisableAsyncReprojection_Bool","consttype": "const char *const", "constval": "disableAsync"}
,{
@@ -1481,8 +1570,6 @@
"constname": "k_pch_SteamVR_DebugInputBinding","consttype": "const char *const", "constval": "debugInputBinding"}
,{
"constname": "k_pch_SteamVR_DoNotFadeToGrid","consttype": "const char *const", "constval": "doNotFadeToGrid"}
,{
"constname": "k_pch_SteamVR_RenderCameraMode","consttype": "const char *const", "constval": "renderCameraMode"}
,{
"constname": "k_pch_SteamVR_EnableSharedResourceJournaling","consttype": "const char *const", "constval": "enableSharedResourceJournaling"}
,{
@@ -1513,6 +1600,12 @@
"constname": "k_pch_SteamVR_BlockOculusSDKOnOpenVRLaunchOption_Bool","consttype": "const char *const", "constval": "blockOculusSDKOnOpenVRLaunchOption"}
,{
"constname": "k_pch_SteamVR_BlockOculusSDKOnAllLaunches_Bool","consttype": "const char *const", "constval": "blockOculusSDKOnAllLaunches"}
,{
"constname": "k_pch_SteamVR_HDCPLegacyCompatibility_Bool","consttype": "const char *const", "constval": "hdcp14legacyCompatibility"}
,{
"constname": "k_pch_SteamVR_DisplayPortTrainingMode_Int","consttype": "const char *const", "constval": "displayPortTrainingMode"}
,{
"constname": "k_pch_SteamVR_UsePrism_Bool","consttype": "const char *const", "constval": "usePrism"}
,{
"constname": "k_pch_DirectMode_Section","consttype": "const char *const", "constval": "direct_mode"}
,{
@@ -1615,6 +1708,8 @@
"constname": "k_pch_Perf_TestData_Float","consttype": "const char *const", "constval": "perfTestData"}
,{
"constname": "k_pch_Perf_GPUProfiling_Bool","consttype": "const char *const", "constval": "GPUProfiling"}
,{
"constname": "k_pch_Perf_GpuBusMonitoring_Bool","consttype": "const char *const", "constval": "gpuBusMonitoring"}
,{
"constname": "k_pch_CollisionBounds_Section","consttype": "const char *const", "constval": "collisionBounds"}
,{
@@ -1644,11 +1739,11 @@
,{
"constname": "k_pch_Camera_EnableCamera_Bool","consttype": "const char *const", "constval": "enableCamera"}
,{
"constname": "k_pch_Camera_EnableCameraInDashboard_Bool","consttype": "const char *const", "constval": "enableCameraInDashboard"}
"constname": "k_pch_Camera_ShowOnController_Bool","consttype": "const char *const", "constval": "showOnController"}
,{
"constname": "k_pch_Camera_EnableCameraForCollisionBounds_Bool","consttype": "const char *const", "constval": "enableCameraForCollisionBounds"}
,{
"constname": "k_pch_Camera_EnableCameraForRoomView_Bool","consttype": "const char *const", "constval": "enableCameraForRoomView"}
"constname": "k_pch_Camera_RoomView_Int32","consttype": "const char *const", "constval": "roomView"}
,{
"constname": "k_pch_Camera_BoundsColorGammaR_Int32","consttype": "const char *const", "constval": "cameraBoundsColorGammaR"}
,{
@@ -1660,7 +1755,7 @@
,{
"constname": "k_pch_Camera_BoundsStrength_Int32","consttype": "const char *const", "constval": "cameraBoundsStrength"}
,{
"constname": "k_pch_Camera_RoomViewMode_Int32","consttype": "const char *const", "constval": "cameraRoomViewMode"}
"constname": "k_pch_Camera_RoomViewStyle_Int32","consttype": "const char *const", "constval": "roomViewStyle"}
,{
"constname": "k_pch_audio_Section","consttype": "const char *const", "constval": "audio"}
,{
@@ -1695,6 +1790,10 @@
"constname": "k_pch_audio_LastHmdPlaybackDeviceId_String","consttype": "const char *const", "constval": "lastHmdPlaybackDeviceId"}
,{
"constname": "k_pch_audio_VIVEHDMIGain","consttype": "const char *const", "constval": "viveHDMIGain"}
,{
"constname": "k_pch_audio_DualSpeakerAndJackOutput_Bool","consttype": "const char *const", "constval": "dualSpeakerAndJackOutput"}
,{
"constname": "k_pch_audio_MuteMicMonitor_Bool","consttype": "const char *const", "constval": "muteMicMonitor"}
,{
"constname": "k_pch_Power_Section","consttype": "const char *const", "constval": "power"}
,{
@@ -1721,6 +1820,12 @@
"constname": "k_pch_Dashboard_DesktopScale","consttype": "const char *const", "constval": "desktopScale"}
,{
"constname": "k_pch_Dashboard_DashboardScale","consttype": "const char *const", "constval": "dashboardScale"}
,{
"constname": "k_pch_Dashboard_UseStandaloneSystemLayer","consttype": "const char *const", "constval": "standaloneSystemLayer"}
,{
"constname": "k_pch_Dashboard_StickyDashboard","consttype": "const char *const", "constval": "stickyDashboard"}
,{
"constname": "k_pch_Dashboard_AllowSteamOverlays_Bool","consttype": "const char *const", "constval": "allowSteamOverlays"}
,{
"constname": "k_pch_modelskin_Section","consttype": "const char *const", "constval": "modelskins"}
,{
@@ -1745,6 +1850,8 @@
"constname": "k_pch_App_BindingLegacyAPISuffix_String","consttype": "const char *const", "constval": "_legacy"}
,{
"constname": "k_pch_App_BindingSteamVRInputAPISuffix_String","consttype": "const char *const", "constval": "_steamvrinput"}
,{
"constname": "k_pch_App_BindingOpenXRAPISuffix_String","consttype": "const char *const", "constval": "_openxr"}
,{
"constname": "k_pch_App_BindingCurrentURLSuffix_String","consttype": "const char *const", "constval": "CurrentURL"}
,{
@@ -1843,6 +1950,8 @@
"constname": "k_pchPathPoseRaw","consttype": "const char *", "constval": "/pose/raw"}
,{
"constname": "k_pchPathPoseTip","consttype": "const char *", "constval": "/pose/tip"}
,{
"constname": "k_pchPathPoseGrip","consttype": "const char *", "constval": "/pose/grip"}
,{
"constname": "k_pchPathSystemButtonClick","consttype": "const char *", "constval": "/input/system/click"}
,{
@@ -1877,6 +1986,14 @@
"constname": "k_pchPathUserKneeLeft","consttype": "const char *", "constval": "/user/knee/left"}
,{
"constname": "k_pchPathUserKneeRight","consttype": "const char *", "constval": "/user/knee/right"}
,{
"constname": "k_pchPathUserWristLeft","consttype": "const char *", "constval": "/user/wrist/left"}
,{
"constname": "k_pchPathUserWristRight","consttype": "const char *", "constval": "/user/wrist/right"}
,{
"constname": "k_pchPathUserAnkleLeft","consttype": "const char *", "constval": "/user/ankle/left"}
,{
"constname": "k_pchPathUserAnkleRight","consttype": "const char *", "constval": "/user/ankle/right"}
,{
"constname": "k_pchPathUserWaist","consttype": "const char *", "constval": "/user/waist"}
,{
@@ -1892,7 +2009,7 @@
,{
"constname": "IVRPaths_Version","consttype": "const char *const", "constval": "IVRPaths_001"}
,{
"constname": "IVRBlockQueue_Version","consttype": "const char *", "constval": "IVRBlockQueue_004"}
"constname": "IVRBlockQueue_Version","consttype": "const char *", "constval": "IVRBlockQueue_005"}
],
"structs":[{"struct": "vr::HmdMatrix34_t","fields": [
{ "fieldname": "m", "fieldtype": "float [3][4]"}]}
@@ -1928,6 +2045,9 @@
,{"struct": "vr::HmdRect2_t","fields": [
{ "fieldname": "vTopLeft", "fieldtype": "struct vr::HmdVector2_t"},
{ "fieldname": "vBottomRight", "fieldtype": "struct vr::HmdVector2_t"}]}
,{"struct": "vr::VRBoneTransform_t","fields": [
{ "fieldname": "position", "fieldtype": "struct vr::HmdVector4_t"},
{ "fieldname": "orientation", "fieldtype": "struct vr::HmdQuaternionf_t"}]}
,{"struct": "vr::DistortionCoordinates_t","fields": [
{ "fieldname": "rfRed", "fieldtype": "float [2]"},
{ "fieldname": "rfGreen", "fieldtype": "float [2]"},
@@ -1936,13 +2056,6 @@
{ "fieldname": "handle", "fieldtype": "void *"},
{ "fieldname": "eType", "fieldtype": "enum vr::ETextureType"},
{ "fieldname": "eColorSpace", "fieldtype": "enum vr::EColorSpace"}]}
,{"struct": "vr::TrackedDevicePose_t","fields": [
{ "fieldname": "mDeviceToAbsoluteTracking", "fieldtype": "struct vr::HmdMatrix34_t"},
{ "fieldname": "vVelocity", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "vAngularVelocity", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "eTrackingResult", "fieldtype": "enum vr::ETrackingResult"},
{ "fieldname": "bPoseIsValid", "fieldtype": "_Bool"},
{ "fieldname": "bDeviceIsConnected", "fieldtype": "_Bool"}]}
,{"struct": "vr::VRTextureBounds_t","fields": [
{ "fieldname": "uMin", "fieldtype": "float"},
{ "fieldname": "vMin", "fieldtype": "float"},
@@ -1958,6 +2071,13 @@
{ "fieldname": "depth", "fieldtype": "struct vr::VRTextureDepthInfo_t"}]}
,{"struct": "vr::VRTextureWithPoseAndDepth_t","fields": [
{ "fieldname": "depth", "fieldtype": "struct vr::VRTextureDepthInfo_t"}]}
,{"struct": "vr::TrackedDevicePose_t","fields": [
{ "fieldname": "mDeviceToAbsoluteTracking", "fieldtype": "struct vr::HmdMatrix34_t"},
{ "fieldname": "vVelocity", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "vAngularVelocity", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "eTrackingResult", "fieldtype": "enum vr::ETrackingResult"},
{ "fieldname": "bPoseIsValid", "fieldtype": "_Bool"},
{ "fieldname": "bDeviceIsConnected", "fieldtype": "_Bool"}]}
,{"struct": "vr::VRVulkanTextureData_t","fields": [
{ "fieldname": "m_nImage", "fieldtype": "uint64_t"},
{ "fieldname": "m_pDevice", "fieldtype": "struct VkDevice_T *"},
@@ -2004,7 +2124,8 @@
{ "fieldname": "bConnectionLost", "fieldtype": "_Bool"}]}
,{"struct": "vr::VREvent_Overlay_t","fields": [
{ "fieldname": "overlayHandle", "fieldtype": "uint64_t"},
{ "fieldname": "devicePath", "fieldtype": "uint64_t"}]}
{ "fieldname": "devicePath", "fieldtype": "uint64_t"},
{ "fieldname": "memoryBlockId", "fieldtype": "uint64_t"}]}
,{"struct": "vr::VREvent_Status_t","fields": [
{ "fieldname": "statusState", "fieldtype": "uint32_t"}]}
,{"struct": "vr::VREvent_Keyboard_t","fields": [
@@ -2125,9 +2246,6 @@
{ "fieldname": "ulButtonPressed", "fieldtype": "uint64_t"},
{ "fieldname": "ulButtonTouched", "fieldtype": "uint64_t"},
{ "fieldname": "rAxis", "fieldtype": "struct vr::VRControllerAxis_t [5]"}]}
,{"struct": "vr::VRBoneTransform_t","fields": [
{ "fieldname": "position", "fieldtype": "struct vr::HmdVector4_t"},
{ "fieldname": "orientation", "fieldtype": "struct vr::HmdQuaternionf_t"}]}
,{"struct": "vr::CameraVideoStreamFrameHeader_t","fields": [
{ "fieldname": "eFrameType", "fieldtype": "enum vr::EVRTrackedCameraFrameType"},
{ "fieldname": "nWidth", "fieldtype": "uint32_t"},
@@ -2195,7 +2313,14 @@
{ "fieldname": "m_nNumTimedOut", "fieldtype": "uint32_t"},
{ "fieldname": "m_nNumFramePresentsTimedOut", "fieldtype": "uint32_t"},
{ "fieldname": "m_nNumDroppedFramesTimedOut", "fieldtype": "uint32_t"},
{ "fieldname": "m_nNumReprojectedFramesTimedOut", "fieldtype": "uint32_t"}]}
{ "fieldname": "m_nNumReprojectedFramesTimedOut", "fieldtype": "uint32_t"},
{ "fieldname": "m_nNumFrameSubmits", "fieldtype": "uint32_t"},
{ "fieldname": "m_flSumCompositorCPUTimeMS", "fieldtype": "vrshared_double"},
{ "fieldname": "m_flSumCompositorGPUTimeMS", "fieldtype": "vrshared_double"},
{ "fieldname": "m_flSumTargetFrameTimes", "fieldtype": "vrshared_double"},
{ "fieldname": "m_flSumApplicationCPUTimeMS", "fieldtype": "vrshared_double"},
{ "fieldname": "m_flSumApplicationGPUTimeMS", "fieldtype": "vrshared_double"},
{ "fieldname": "m_nNumFramesWithDepth", "fieldtype": "uint32_t"}]}
,{"struct": "vr::Compositor_StageRenderSettings","fields": [
{ "fieldname": "m_PrimaryColor", "fieldtype": "struct vr::HmdColor_t"},
{ "fieldname": "m_SecondaryColor", "fieldtype": "struct vr::HmdColor_t"},
@@ -2229,6 +2354,11 @@
,{"struct": "vr::VROverlayIntersectionMaskPrimitive_t","fields": [
{ "fieldname": "m_nPrimitiveType", "fieldtype": "enum vr::EVROverlayIntersectionMaskPrimitiveType"},
{ "fieldname": "m_Primitive", "fieldtype": "VROverlayIntersectionMaskPrimitive_Data_t"}]}
,{"struct": "vr::VROverlayProjection_t","fields": [
{ "fieldname": "fLeft", "fieldtype": "float"},
{ "fieldname": "fRight", "fieldtype": "float"},
{ "fieldname": "fTop", "fieldtype": "float"},
{ "fieldname": "fBottom", "fieldtype": "float"}]}
,{"struct": "vr::VROverlayView_t","fields": [
{ "fieldname": "overlayHandle", "fieldtype": "VROverlayHandle_t"},
{ "fieldname": "texture", "fieldtype": "struct vr::Texture_t"},
@@ -2250,7 +2380,8 @@
{ "fieldname": "unWidth", "fieldtype": "uint16_t"},
{ "fieldname": "unHeight", "fieldtype": "uint16_t"},
{ "fieldname": "rubTextureMapData", "fieldtype": "const uint8_t *"},
{ "fieldname": "format", "fieldtype": "enum vr::EVRRenderModelTextureFormat"}]}
{ "fieldname": "format", "fieldtype": "enum vr::EVRRenderModelTextureFormat"},
{ "fieldname": "unMipLevels", "fieldtype": "uint16_t"}]}
,{"struct": "vr::RenderModel_t","fields": [
{ "fieldname": "rVertexData", "fieldtype": "const struct vr::RenderModel_Vertex_t *"},
{ "fieldname": "unVertexCount", "fieldtype": "uint32_t"},
@@ -2472,11 +2603,6 @@
{ "paramname": "unTrackedDevicePoseArrayCount" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "ResetSeatedZeroPose",
"returntype": "void"
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetSeatedZeroPoseToStandingAbsoluteTrackingPose",
@@ -3259,6 +3385,14 @@
{ "paramname": "bForce" ,"paramtype": "bool"}
]
}
,{
"classname": "vr::IVRChaperone",
"methodname": "ResetZeroPose",
"returntype": "void",
"params": [
{ "paramname": "eTrackingUniverseOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"}
]
}
,{
"classname": "vr::IVRChaperoneSetup",
"methodname": "CommitWorkingCopy",
@@ -3540,7 +3674,7 @@
"returntype": "void",
"params": [
{ "paramname": "fSeconds" ,"paramtype": "float"},
{ "paramname": "bFadeIn" ,"paramtype": "bool"}
{ "paramname": "bFadeGridIn" ,"paramtype": "bool"}
]
}
,{
@@ -4023,6 +4157,24 @@
{ "paramname": "pfCurvature" ,"paramtype": "float *"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "SetOverlayPreCurvePitch",
"returntype": "vr::EVROverlayError",
"params": [
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
{ "paramname": "fRadians" ,"paramtype": "float"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "GetOverlayPreCurvePitch",
"returntype": "vr::EVROverlayError",
"params": [
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
{ "paramname": "pfRadians" ,"paramtype": "float *"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "SetOverlayTextureColorSpace",
@@ -4129,26 +4281,6 @@
{ "paramname": "unComponentNameSize" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "GetOverlayTransformOverlayRelative",
"returntype": "vr::EVROverlayError",
"params": [
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
{ "paramname": "ulOverlayHandleParent" ,"paramtype": "vr::VROverlayHandle_t *"},
{ "paramname": "pmatParentOverlayToOverlayTransform" ,"paramtype": "struct vr::HmdMatrix34_t *"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "SetOverlayTransformOverlayRelative",
"returntype": "vr::EVROverlayError",
"params": [
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
{ "paramname": "ulOverlayHandleParent" ,"paramtype": "vr::VROverlayHandle_t"},
{ "paramname": "pmatParentOverlayToOverlayTransform" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "SetOverlayTransformCursor",
@@ -4167,6 +4299,18 @@
{ "paramname": "pvHotspot" ,"paramtype": "struct vr::HmdVector2_t *"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "SetOverlayTransformProjection",
"returntype": "vr::EVROverlayError",
"params": [
{ "paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
{ "paramname": "eTrackingOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"},
{ "paramname": "pmatTrackingOriginToOverlayTransform" ,"paramtype": "const struct vr::HmdMatrix34_t *"},
{ "paramname": "pProjection" ,"paramtype": "const struct vr::VROverlayProjection_t *"},
{ "paramname": "eEye" ,"paramtype": "vr::EVREye"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "ShowOverlay",
@@ -4202,6 +4346,14 @@
{ "paramname": "pmatTransform" ,"paramtype": "struct vr::HmdMatrix34_t *"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "WaitFrameSync",
"returntype": "vr::EVROverlayError",
"params": [
{ "paramname": "nTimeoutMs" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVROverlay",
"methodname": "PollNextOverlayEvent",
@@ -5609,7 +5761,8 @@
{ "paramname": "pchPath" ,"paramtype": "const char *"},
{ "paramname": "unBlockDataSize" ,"paramtype": "uint32_t"},
{ "paramname": "unBlockHeaderSize" ,"paramtype": "uint32_t"},
{ "paramname": "unBlockCount" ,"paramtype": "uint32_t"}
{ "paramname": "unBlockCount" ,"paramtype": "uint32_t"},
{ "paramname": "unFlags" ,"paramtype": "uint32_t"}
]
}
,{
+171 -34
View File
@@ -24,7 +24,7 @@
#endif
// OPENVR API export macro
#if defined( _WIN32 ) && !defined( _X360 )
#if defined( _WIN32 )
#if defined( OPENVR_API_EXPORTS )
#define S_API EXTERN_C __declspec( dllexport )
#elif defined( OPENVR_API_NODLL )
@@ -61,6 +61,16 @@ typedef uint64_t VRActionSetHandle_t;
typedef uint64_t VRInputValueHandle_t;
typedef uint64_t PathHandle_t;
// 64-bit types that are part of public structures
// that are replicated in shared memory.
#if defined(__linux__) || defined(__APPLE__)
typedef uint64_t vrshared_uint64_t __attribute__ ((aligned(8)));
typedef double vrshared_double __attribute__ ((aligned(8)));
#else
typedef uint64_t vrshared_uint64_t;
typedef double vrshared_double;
#endif
// OpenVR Constants
@@ -106,21 +116,21 @@ static const unsigned long k_unControllerStateAxisCount = 5;
static const unsigned long long k_ulOverlayHandleInvalid = 0;
static const unsigned long k_unMaxDistortionFunctionParameters = 8;
static const unsigned long k_unScreenshotHandleInvalid = 0;
static const char * IVRSystem_Version = "IVRSystem_021";
static const char * IVRSystem_Version = "IVRSystem_022";
static const char * IVRExtendedDisplay_Version = "IVRExtendedDisplay_001";
static const char * IVRTrackedCamera_Version = "IVRTrackedCamera_006";
static const unsigned long k_unMaxApplicationKeyLength = 128;
static const char * k_pch_MimeType_HomeApp = "vr/home";
static const char * k_pch_MimeType_GameTheater = "vr/game_theater";
static const char * IVRApplications_Version = "IVRApplications_007";
static const char * IVRChaperone_Version = "IVRChaperone_003";
static const char * IVRChaperone_Version = "IVRChaperone_004";
static const char * IVRChaperoneSetup_Version = "IVRChaperoneSetup_006";
static const char * IVRCompositor_Version = "IVRCompositor_026";
static const char * IVRCompositor_Version = "IVRCompositor_027";
static const unsigned long k_unVROverlayMaxKeyLength = 128;
static const unsigned long k_unVROverlayMaxNameLength = 128;
static const unsigned long k_unMaxOverlayCount = 128;
static const unsigned long k_unMaxOverlayIntersectionMaskPrimitivesCount = 32;
static const char * IVROverlay_Version = "IVROverlay_024";
static const char * IVROverlay_Version = "IVROverlay_027";
static const char * IVROverlayView_Version = "IVROverlayView_003";
static const unsigned long k_unHeadsetViewMaxWidth = 3840;
static const unsigned long k_unHeadsetViewMaxHeight = 2160;
@@ -155,6 +165,7 @@ static const char * k_pch_SteamVR_GridColor_String = "gridColor";
static const char * k_pch_SteamVR_PlayAreaColor_String = "playAreaColor";
static const char * k_pch_SteamVR_TrackingLossColor_String = "trackingLossColor";
static const char * k_pch_SteamVR_ShowStage_Bool = "showStage";
static const char * k_pch_SteamVR_DrawTrackingReferences_Bool = "drawTrackingReferences";
static const char * k_pch_SteamVR_ActivateMultipleDrivers_Bool = "activateMultipleDrivers";
static const char * k_pch_SteamVR_UsingSpeakers_Bool = "usingSpeakers";
static const char * k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees";
@@ -165,6 +176,10 @@ static const char * k_pch_SteamVR_SupersampleScale_Float = "supersampleScale";
static const char * k_pch_SteamVR_MaxRecommendedResolution_Int32 = "maxRecommendedResolution";
static const char * k_pch_SteamVR_MotionSmoothing_Bool = "motionSmoothing";
static const char * k_pch_SteamVR_MotionSmoothingOverride_Int32 = "motionSmoothingOverride";
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_DisableAsyncReprojection_Bool = "disableAsync";
static const char * k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
static const char * k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
@@ -191,7 +206,6 @@ static const char * k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bo
static const char * k_pch_SteamVR_ForceWindows32bitVRMonitor = "forceWindows32BitVRMonitor";
static const char * k_pch_SteamVR_DebugInputBinding = "debugInputBinding";
static const char * k_pch_SteamVR_DoNotFadeToGrid = "doNotFadeToGrid";
static const char * k_pch_SteamVR_RenderCameraMode = "renderCameraMode";
static const char * k_pch_SteamVR_EnableSharedResourceJournaling = "enableSharedResourceJournaling";
static const char * k_pch_SteamVR_EnableSafeMode = "enableSafeMode";
static const char * k_pch_SteamVR_PreferredRefreshRate = "preferredRefreshRate";
@@ -207,6 +221,9 @@ static const char * k_pch_SteamVR_AllowGlobalActionSetPriority = "globalActionSe
static const char * k_pch_SteamVR_OverlayRenderQuality = "overlayRenderQuality_2";
static const char * k_pch_SteamVR_BlockOculusSDKOnOpenVRLaunchOption_Bool = "blockOculusSDKOnOpenVRLaunchOption";
static const char * k_pch_SteamVR_BlockOculusSDKOnAllLaunches_Bool = "blockOculusSDKOnAllLaunches";
static const char * k_pch_SteamVR_HDCPLegacyCompatibility_Bool = "hdcp14legacyCompatibility";
static const char * k_pch_SteamVR_DisplayPortTrainingMode_Int = "displayPortTrainingMode";
static const char * k_pch_SteamVR_UsePrism_Bool = "usePrism";
static const char * k_pch_DirectMode_Section = "direct_mode";
static const char * k_pch_DirectMode_Enable_Bool = "enable";
static const char * k_pch_DirectMode_Count_Int32 = "count";
@@ -258,6 +275,7 @@ static const char * k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore";
static const char * k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit";
static const char * k_pch_Perf_TestData_Float = "perfTestData";
static const char * k_pch_Perf_GPUProfiling_Bool = "GPUProfiling";
static const char * k_pch_Perf_GpuBusMonitoring_Bool = "gpuBusMonitoring";
static const char * k_pch_CollisionBounds_Section = "collisionBounds";
static const char * k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle";
static const char * k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn";
@@ -272,15 +290,15 @@ static const char * k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsCo
static const char * k_pch_CollisionBounds_EnableDriverImport = "enableDriverBoundsImport";
static const char * k_pch_Camera_Section = "camera";
static const char * k_pch_Camera_EnableCamera_Bool = "enableCamera";
static const char * k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard";
static const char * k_pch_Camera_ShowOnController_Bool = "showOnController";
static const char * k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds";
static const char * k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView";
static const char * k_pch_Camera_RoomView_Int32 = "roomView";
static const char * k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR";
static const char * k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG";
static const char * k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB";
static const char * k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA";
static const char * k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength";
static const char * k_pch_Camera_RoomViewMode_Int32 = "cameraRoomViewMode";
static const char * k_pch_Camera_RoomViewStyle_Int32 = "roomViewStyle";
static const char * k_pch_audio_Section = "audio";
static const char * k_pch_audio_SetOsDefaultPlaybackDevice_Bool = "setOsDefaultPlaybackDevice";
static const char * k_pch_audio_EnablePlaybackDeviceOverride_Bool = "enablePlaybackDeviceOverride";
@@ -298,6 +316,8 @@ static const char * k_pch_audio_ActiveMirrorDevice_String = "activePlaybackMirro
static const char * k_pch_audio_EnablePlaybackMirrorIndependentVolume_Bool = "enablePlaybackMirrorIndependentVolume";
static const char * k_pch_audio_LastHmdPlaybackDeviceId_String = "lastHmdPlaybackDeviceId";
static const char * k_pch_audio_VIVEHDMIGain = "viveHDMIGain";
static const char * k_pch_audio_DualSpeakerAndJackOutput_Bool = "dualSpeakerAndJackOutput";
static const char * k_pch_audio_MuteMicMonitor_Bool = "muteMicMonitor";
static const char * k_pch_Power_Section = "power";
static const char * k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit";
static const char * k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout";
@@ -311,6 +331,9 @@ static const char * k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode";
static const char * k_pch_Dashboard_Position = "position";
static const char * k_pch_Dashboard_DesktopScale = "desktopScale";
static const char * k_pch_Dashboard_DashboardScale = "dashboardScale";
static const char * k_pch_Dashboard_UseStandaloneSystemLayer = "standaloneSystemLayer";
static const char * k_pch_Dashboard_StickyDashboard = "stickyDashboard";
static const char * k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays";
static const char * k_pch_modelskin_Section = "modelskins";
static const char * k_pch_Driver_Enable_Bool = "enable";
static const char * k_pch_Driver_BlockedBySafemode_Bool = "blocked_by_safe_mode";
@@ -323,6 +346,7 @@ static const char * k_pch_TrackingOverride_Section = "TrackingOverrides";
static const char * k_pch_App_BindingAutosaveURLSuffix_String = "AutosaveURL";
static const char * k_pch_App_BindingLegacyAPISuffix_String = "_legacy";
static const char * k_pch_App_BindingSteamVRInputAPISuffix_String = "_steamvrinput";
static const char * k_pch_App_BindingOpenXRAPISuffix_String = "_openxr";
static const char * k_pch_App_BindingCurrentURLSuffix_String = "CurrentURL";
static const char * k_pch_App_BindingPreviousURLSuffix_String = "PreviousURL";
static const char * k_pch_App_NeedToUpdateAutosaveSuffix_Bool = "NeedToUpdateAutosave";
@@ -372,6 +396,7 @@ static const char * k_pchPathBoundTrackerAliasPath = "/bound_tracker_path";
static const char * k_pchPathBoundTrackerRole = "/bound_tracker_role";
static const char * k_pchPathPoseRaw = "/pose/raw";
static const char * k_pchPathPoseTip = "/pose/tip";
static const char * k_pchPathPoseGrip = "/pose/grip";
static const char * k_pchPathSystemButtonClick = "/input/system/click";
static const char * k_pchPathProximity = "/proximity";
static const char * k_pchPathControllerTypePrefix = "/controller_type/";
@@ -389,6 +414,10 @@ static const char * k_pchPathUserElbowLeft = "/user/elbow/left";
static const char * k_pchPathUserElbowRight = "/user/elbow/right";
static const char * k_pchPathUserKneeLeft = "/user/knee/left";
static const char * k_pchPathUserKneeRight = "/user/knee/right";
static const char * k_pchPathUserWristLeft = "/user/wrist/left";
static const char * k_pchPathUserWristRight = "/user/wrist/right";
static const char * k_pchPathUserAnkleLeft = "/user/ankle/left";
static const char * k_pchPathUserAnkleRight = "/user/ankle/right";
static const char * k_pchPathUserWaist = "/user/waist";
static const char * k_pchPathUserChest = "/user/chest";
static const char * k_pchPathUserCamera = "/user/camera";
@@ -396,7 +425,7 @@ static const char * k_pchPathUserKeyboard = "/user/keyboard";
static const char * k_pchPathClientAppKey = "/client_info/app_key";
static const unsigned long long k_ulInvalidPathHandle = 0;
static const char * IVRPaths_Version = "IVRPaths_001";
static const char * IVRBlockQueue_Version = "IVRBlockQueue_004";
static const char * IVRBlockQueue_Version = "IVRBlockQueue_005";
// OpenVR Enums
@@ -527,6 +556,8 @@ typedef enum ETrackedDeviceProperty
ETrackedDeviceProperty_Prop_ManufacturerSerialNumber_String = 1049,
ETrackedDeviceProperty_Prop_ComputedSerialNumber_String = 1050,
ETrackedDeviceProperty_Prop_EstimatedDeviceFirstUseTime_Int32 = 1051,
ETrackedDeviceProperty_Prop_DevicePowerUsage_Float = 1052,
ETrackedDeviceProperty_Prop_IgnoreMotionForStandby_Bool = 1053,
ETrackedDeviceProperty_Prop_ReportsTimeSinceVSync_Bool = 2000,
ETrackedDeviceProperty_Prop_SecondsFromVsyncToPhotons_Float = 2001,
ETrackedDeviceProperty_Prop_DisplayFrequency_Float = 2002,
@@ -603,6 +634,7 @@ typedef enum ETrackedDeviceProperty
ETrackedDeviceProperty_Prop_DriverProvidedChaperoneVisibility_Bool = 2076,
ETrackedDeviceProperty_Prop_HmdColumnCorrectionSettingPrefix_String = 2077,
ETrackedDeviceProperty_Prop_CameraSupportsCompatibilityModes_Bool = 2078,
ETrackedDeviceProperty_Prop_SupportsRoomViewDepthProjection_Bool = 2079,
ETrackedDeviceProperty_Prop_DisplayAvailableFrameRates_Float_Array = 2080,
ETrackedDeviceProperty_Prop_DisplaySupportsMultipleFramerates_Bool = 2081,
ETrackedDeviceProperty_Prop_DisplayColorMultLeft_Vector3 = 2082,
@@ -611,9 +643,24 @@ typedef enum ETrackedDeviceProperty
ETrackedDeviceProperty_Prop_DisplaySupportsAnalogGain_Bool = 2085,
ETrackedDeviceProperty_Prop_DisplayMinAnalogGain_Float = 2086,
ETrackedDeviceProperty_Prop_DisplayMaxAnalogGain_Float = 2087,
ETrackedDeviceProperty_Prop_CameraExposureTime_Float = 2088,
ETrackedDeviceProperty_Prop_CameraGlobalGain_Float = 2089,
ETrackedDeviceProperty_Prop_DashboardScale_Float = 2091,
ETrackedDeviceProperty_Prop_PeerButtonInfo_String = 2092,
ETrackedDeviceProperty_Prop_Hmd_SupportsHDR10_Bool = 2093,
ETrackedDeviceProperty_Prop_Hmd_EnableParallelRenderCameras_Bool = 2094,
ETrackedDeviceProperty_Prop_DriverProvidedChaperoneJson_String = 2095,
ETrackedDeviceProperty_Prop_IpdUIRangeMinMeters_Float = 2100,
ETrackedDeviceProperty_Prop_IpdUIRangeMaxMeters_Float = 2101,
ETrackedDeviceProperty_Prop_Hmd_SupportsHDCP14LegacyCompat_Bool = 2102,
ETrackedDeviceProperty_Prop_Hmd_SupportsMicMonitoring_Bool = 2103,
ETrackedDeviceProperty_Prop_Hmd_SupportsDisplayPortTrainingMode_Bool = 2104,
ETrackedDeviceProperty_Prop_Hmd_SupportsRoomViewDirect_Bool = 2105,
ETrackedDeviceProperty_Prop_Hmd_SupportsAppThrottling_Bool = 2106,
ETrackedDeviceProperty_Prop_Hmd_SupportsGpuBusMonitoring_Bool = 2107,
ETrackedDeviceProperty_Prop_DSCVersion_Int32 = 2110,
ETrackedDeviceProperty_Prop_DSCSliceCount_Int32 = 2111,
ETrackedDeviceProperty_Prop_DSCBPPx16_Int32 = 2112,
ETrackedDeviceProperty_Prop_DriverRequestedMuraCorrectionMode_Int32 = 2200,
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerLeft_Int32 = 2201,
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerRight_Int32 = 2202,
@@ -626,6 +673,7 @@ typedef enum ETrackedDeviceProperty
ETrackedDeviceProperty_Prop_Audio_DefaultPlaybackDeviceId_String = 2300,
ETrackedDeviceProperty_Prop_Audio_DefaultRecordingDeviceId_String = 2301,
ETrackedDeviceProperty_Prop_Audio_DefaultPlaybackDeviceVolume_Float = 2302,
ETrackedDeviceProperty_Prop_Audio_SupportsDualSpeakerAndJackOutput_Bool = 2303,
ETrackedDeviceProperty_Prop_AttachedDeviceId_String = 3000,
ETrackedDeviceProperty_Prop_SupportedButtons_Uint64 = 3001,
ETrackedDeviceProperty_Prop_Axis0Type_Int32 = 3002,
@@ -710,6 +758,9 @@ typedef enum EVRSubmitFlags
EVRSubmitFlags_Submit_TextureWithDepth = 16,
EVRSubmitFlags_Submit_FrameDiscontinuty = 32,
EVRSubmitFlags_Submit_VulkanTextureWithArrayData = 64,
EVRSubmitFlags_Submit_GlArrayTexture = 128,
EVRSubmitFlags_Submit_Reserved2 = 32768,
EVRSubmitFlags_Submit_Reserved3 = 65536,
} EVRSubmitFlags;
typedef enum EVRState
@@ -762,13 +813,13 @@ typedef enum EVREventType
EVREventType_VREvent_InputFocusCaptured = 400,
EVREventType_VREvent_InputFocusReleased = 401,
EVREventType_VREvent_SceneApplicationChanged = 404,
EVREventType_VREvent_SceneFocusChanged = 405,
EVREventType_VREvent_InputFocusChanged = 406,
EVREventType_VREvent_SceneApplicationUsingWrongGraphicsAdapter = 408,
EVREventType_VREvent_ActionBindingReloaded = 409,
EVREventType_VREvent_HideRenderModels = 410,
EVREventType_VREvent_ShowRenderModels = 411,
EVREventType_VREvent_SceneApplicationStateChanged = 412,
EVREventType_VREvent_SceneAppPipeDisconnected = 413,
EVREventType_VREvent_ConsoleOpened = 420,
EVREventType_VREvent_ConsoleClosed = 421,
EVREventType_VREvent_OverlayShown = 500,
@@ -797,6 +848,11 @@ typedef enum EVREventType
EVREventType_VREvent_RoomViewHidden = 527,
EVREventType_VREvent_ShowUI = 528,
EVREventType_VREvent_ShowDevTools = 529,
EVREventType_VREvent_DesktopViewUpdating = 530,
EVREventType_VREvent_DesktopViewReady = 531,
EVREventType_VREvent_StartDashboard = 532,
EVREventType_VREvent_ElevatePrism = 533,
EVREventType_VREvent_OverlayClosed = 534,
EVREventType_VREvent_Notification_Shown = 600,
EVREventType_VREvent_Notification_Hidden = 601,
EVREventType_VREvent_Notification_BeginInteraction = 602,
@@ -806,6 +862,7 @@ typedef enum EVREventType
EVREventType_VREvent_QuitAcknowledged = 703,
EVREventType_VREvent_DriverRequestedQuit = 704,
EVREventType_VREvent_RestartRequested = 705,
EVREventType_VREvent_InvalidateSwapTextureSets = 706,
EVREventType_VREvent_ChaperoneDataHasChanged = 800,
EVREventType_VREvent_ChaperoneUniverseHasChanged = 801,
EVREventType_VREvent_ChaperoneTempDataHasChanged = 802,
@@ -814,6 +871,7 @@ typedef enum EVREventType
EVREventType_VREvent_ChaperoneFlushCache = 805,
EVREventType_VREvent_ChaperoneRoomSetupStarting = 806,
EVREventType_VREvent_ChaperoneRoomSetupFinished = 807,
EVREventType_VREvent_StandingZeroPoseReset = 808,
EVREventType_VREvent_AudioSettingsHaveChanged = 820,
EVREventType_VREvent_BackgroundSettingHasChanged = 850,
EVREventType_VREvent_CameraSettingsHaveChanged = 851,
@@ -859,6 +917,7 @@ typedef enum EVREventType
EVREventType_VREvent_Compositor_OutOfVideoMemory = 1417,
EVREventType_VREvent_Compositor_DisplayModeNotSupported = 1418,
EVREventType_VREvent_Compositor_StageOverrideReady = 1419,
EVREventType_VREvent_Compositor_RequestDisconnectReconnect = 1420,
EVREventType_VREvent_TrackedCamera_StartVideoStream = 1500,
EVREventType_VREvent_TrackedCamera_StopVideoStream = 1501,
EVREventType_VREvent_TrackedCamera_PauseVideoStream = 1502,
@@ -921,6 +980,8 @@ typedef enum EVRButtonId
EVRButtonId_k_EButton_IndexController_A = 2,
EVRButtonId_k_EButton_IndexController_B = 1,
EVRButtonId_k_EButton_IndexController_JoyStick = 35,
EVRButtonId_k_EButton_Reserved0 = 50,
EVRButtonId_k_EButton_Reserved1 = 51,
EVRButtonId_k_EButton_Max = 64,
} EVRButtonId;
@@ -1062,6 +1123,7 @@ typedef enum EVROverlayError
EVROverlayError_VROverlayError_TextureAlreadyLocked = 31,
EVROverlayError_VROverlayError_TextureLockCapacityReached = 32,
EVROverlayError_VROverlayError_TextureNotLocked = 33,
EVROverlayError_VROverlayError_TimedOut = 34,
} EVROverlayError;
typedef enum EVRApplicationType
@@ -1075,7 +1137,12 @@ typedef enum EVRApplicationType
EVRApplicationType_VRApplication_SteamWatchdog = 6,
EVRApplicationType_VRApplication_Bootstrapper = 7,
EVRApplicationType_VRApplication_WebHelper = 8,
EVRApplicationType_VRApplication_Max = 9,
EVRApplicationType_VRApplication_OpenXRInstance = 9,
EVRApplicationType_VRApplication_OpenXRScene = 10,
EVRApplicationType_VRApplication_OpenXROverlay = 11,
EVRApplicationType_VRApplication_Prism = 12,
EVRApplicationType_VRApplication_RoomView = 13,
EVRApplicationType_VRApplication_Max = 14,
} EVRApplicationType;
typedef enum EVRFirmwareError
@@ -1160,6 +1227,27 @@ typedef enum EVRInitError
EVRInitError_VRInitError_Init_FailedForVrMonitor = 144,
EVRInitError_VRInitError_Init_PropertyManagerInitFailed = 145,
EVRInitError_VRInitError_Init_WebServerFailed = 146,
EVRInitError_VRInitError_Init_IllegalTypeTransition = 147,
EVRInitError_VRInitError_Init_MismatchedRuntimes = 148,
EVRInitError_VRInitError_Init_InvalidProcessId = 149,
EVRInitError_VRInitError_Init_VRServiceStartupFailed = 150,
EVRInitError_VRInitError_Init_PrismNeedsNewDrivers = 151,
EVRInitError_VRInitError_Init_PrismStartupTimedOut = 152,
EVRInitError_VRInitError_Init_CouldNotStartPrism = 153,
EVRInitError_VRInitError_Init_PrismClientInitFailed = 154,
EVRInitError_VRInitError_Init_PrismClientStartFailed = 155,
EVRInitError_VRInitError_Init_PrismExitedUnexpectedly = 156,
EVRInitError_VRInitError_Init_BadLuid = 157,
EVRInitError_VRInitError_Init_NoServerForAppContainer = 158,
EVRInitError_VRInitError_Init_DuplicateBootstrapper = 159,
EVRInitError_VRInitError_Init_VRDashboardServicePending = 160,
EVRInitError_VRInitError_Init_VRDashboardServiceTimeout = 161,
EVRInitError_VRInitError_Init_VRDashboardServiceStopped = 162,
EVRInitError_VRInitError_Init_VRDashboardAlreadyStarted = 163,
EVRInitError_VRInitError_Init_VRDashboardCopyFailed = 164,
EVRInitError_VRInitError_Init_VRDashboardTokenFailure = 165,
EVRInitError_VRInitError_Init_VRDashboardEnvironmentFailure = 166,
EVRInitError_VRInitError_Init_VRDashboardPathFailure = 167,
EVRInitError_VRInitError_Driver_Failed = 200,
EVRInitError_VRInitError_Driver_Unknown = 201,
EVRInitError_VRInitError_Driver_HmdUnknown = 202,
@@ -1173,6 +1261,8 @@ typedef enum EVRInitError
EVRInitError_VRInitError_Driver_HmdDriverIdOutOfBounds = 211,
EVRInitError_VRInitError_Driver_HmdDisplayMirrored = 212,
EVRInitError_VRInitError_Driver_HmdDisplayNotFoundLaptop = 213,
EVRInitError_VRInitError_Driver_PeerDriverNotInstalled = 214,
EVRInitError_VRInitError_Driver_WirelessHmdNotConnected = 215,
EVRInitError_VRInitError_IPC_ServerInitFailed = 300,
EVRInitError_VRInitError_IPC_ConnectFailed = 301,
EVRInitError_VRInitError_IPC_SharedStateInitFailed = 302,
@@ -1275,8 +1365,14 @@ typedef enum EVRInitError
EVRInitError_VRInitError_Compositor_CreateOverlayInvalidCall = 488,
EVRInitError_VRInitError_Compositor_CreateOverlayAlreadyInitialized = 489,
EVRInitError_VRInitError_Compositor_FailedToCreateMailbox = 490,
EVRInitError_VRInitError_Compositor_WindowInterfaceIsNull = 491,
EVRInitError_VRInitError_Compositor_SystemLayerCreateInstance = 492,
EVRInitError_VRInitError_Compositor_SystemLayerCreateSession = 493,
EVRInitError_VRInitError_Compositor_CreateInverseDistortUVs = 494,
EVRInitError_VRInitError_Compositor_CreateBackbufferDepth = 495,
EVRInitError_VRInitError_VendorSpecific_UnableToConnectToOculusRuntime = 1000,
EVRInitError_VRInitError_VendorSpecific_WindowsNotInDevMode = 1001,
EVRInitError_VRInitError_VendorSpecific_OculusLinkNotEnabled = 1002,
EVRInitError_VRInitError_VendorSpecific_HmdFound_CantOpenDevice = 1101,
EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102,
EVRInitError_VRInitError_VendorSpecific_HmdFound_NoStoredConfig = 1103,
@@ -1291,6 +1387,7 @@ typedef enum EVRInitError
EVRInitError_VRInitError_VendorSpecific_HmdFound_UserDataError = 1112,
EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck = 1113,
EVRInitError_VRInitError_VendorSpecific_OculusRuntimeBadInstall = 1114,
EVRInitError_VRInitError_VendorSpecific_HmdFound_UnexpectedConfiguration_1 = 1115,
EVRInitError_VRInitError_Steam_SteamInstallationNotFound = 2000,
EVRInitError_VRInitError_LastError = 2001,
} EVRInitError;
@@ -1402,6 +1499,7 @@ typedef enum EVRApplicationError
EVRApplicationError_VRApplicationError_PropertyNotSet = 201,
EVRApplicationError_VRApplicationError_UnknownProperty = 202,
EVRApplicationError_VRApplicationError_InvalidParameter = 203,
EVRApplicationError_VRApplicationError_NotImplemented = 300,
} EVRApplicationError;
typedef enum EVRApplicationProperty
@@ -1495,12 +1593,13 @@ typedef enum VROverlayTransformType
VROverlayTransformType_VROverlayTransform_Invalid = -1,
VROverlayTransformType_VROverlayTransform_Absolute = 0,
VROverlayTransformType_VROverlayTransform_TrackedDeviceRelative = 1,
VROverlayTransformType_VROverlayTransform_SystemOverlay = 2,
VROverlayTransformType_VROverlayTransform_TrackedComponent = 3,
VROverlayTransformType_VROverlayTransform_Cursor = 4,
VROverlayTransformType_VROverlayTransform_DashboardTab = 5,
VROverlayTransformType_VROverlayTransform_DashboardThumb = 6,
VROverlayTransformType_VROverlayTransform_Mountable = 7,
VROverlayTransformType_VROverlayTransform_Projection = 8,
VROverlayTransformType_VROverlayTransform_Subview = 9,
} VROverlayTransformType;
typedef enum VROverlayFlags
@@ -1522,6 +1621,8 @@ typedef enum VROverlayFlags
VROverlayFlags_HideLaserIntersection = 524288,
VROverlayFlags_WantsModalBehavior = 1048576,
VROverlayFlags_IsPremultiplied = 2097152,
VROverlayFlags_IgnoreTextureAlpha = 4194304,
VROverlayFlags_Reserved = 67108864,
} VROverlayFlags;
typedef enum VRMessageOverlayResponse
@@ -1598,6 +1699,7 @@ typedef enum EVRRenderModelTextureFormat
EVRRenderModelTextureFormat_VRRenderModelTextureFormat_BC4 = 2,
EVRRenderModelTextureFormat_VRRenderModelTextureFormat_BC7 = 3,
EVRRenderModelTextureFormat_VRRenderModelTextureFormat_BC7_SRGB = 4,
EVRRenderModelTextureFormat_VRRenderModelTextureFormat_RGBA16_FLOAT = 5,
} EVRRenderModelTextureFormat;
typedef enum EVRNotificationType
@@ -1742,6 +1844,11 @@ typedef enum EBlockQueueReadType
EBlockQueueReadType_BlockQueueRead_Next = 2,
} EBlockQueueReadType;
typedef enum EBlockQueueCreationFlag
{
EBlockQueueCreationFlag_BlockQueueFlag_OwnerIsReader = 1,
} EBlockQueueCreationFlag;
// OpenVR typedefs
@@ -1749,6 +1856,7 @@ typedef uint32_t TrackedDeviceIndex_t;
typedef uint32_t VRNotificationId;
typedef uint64_t VROverlayHandle_t;
typedef uint32_t PropertyTypeTag_t;
typedef uint32_t SpatialAnchorHandle_t;
typedef void * glSharedTextureHandle_t;
typedef int32_t glInt_t;
@@ -1861,6 +1969,12 @@ typedef struct HmdRect2_t
struct HmdVector2_t vBottomRight;
} HmdRect2_t;
typedef struct VRBoneTransform_t
{
struct HmdVector4_t position;
struct HmdQuaternionf_t orientation;
} VRBoneTransform_t;
typedef struct DistortionCoordinates_t
{
float rfRed[2]; //float[2]
@@ -1875,16 +1989,6 @@ typedef struct Texture_t
enum EColorSpace eColorSpace;
} Texture_t;
typedef struct TrackedDevicePose_t
{
struct HmdMatrix34_t mDeviceToAbsoluteTracking;
struct HmdVector3_t vVelocity;
struct HmdVector3_t vAngularVelocity;
enum ETrackingResult eTrackingResult;
bool bPoseIsValid;
bool bDeviceIsConnected;
} TrackedDevicePose_t;
typedef struct VRTextureBounds_t
{
float uMin;
@@ -1895,6 +1999,9 @@ typedef struct VRTextureBounds_t
typedef struct VRTextureWithPose_t
{
void * handle; // void *
enum ETextureType eType;
enum EColorSpace eColorSpace;
struct HmdMatrix34_t mDeviceToAbsoluteTracking;
} VRTextureWithPose_t;
@@ -1907,14 +2014,31 @@ typedef struct VRTextureDepthInfo_t
typedef struct VRTextureWithDepth_t
{
void * handle; // void *
enum ETextureType eType;
enum EColorSpace eColorSpace;
struct VRTextureDepthInfo_t depth;
} VRTextureWithDepth_t;
typedef struct VRTextureWithPoseAndDepth_t
{
void * handle; // void *
enum ETextureType eType;
enum EColorSpace eColorSpace;
struct HmdMatrix34_t mDeviceToAbsoluteTracking;
struct VRTextureDepthInfo_t depth;
} VRTextureWithPoseAndDepth_t;
typedef struct TrackedDevicePose_t
{
struct HmdMatrix34_t mDeviceToAbsoluteTracking;
struct HmdVector3_t vVelocity;
struct HmdVector3_t vAngularVelocity;
enum ETrackingResult eTrackingResult;
bool bPoseIsValid;
bool bDeviceIsConnected;
} TrackedDevicePose_t;
typedef struct VRVulkanTextureData_t
{
uint64_t m_nImage;
@@ -1990,6 +2114,7 @@ typedef struct VREvent_Overlay_t
{
uint64_t overlayHandle;
uint64_t devicePath;
uint64_t memoryBlockId;
} VREvent_Overlay_t;
typedef struct VREvent_Status_t
@@ -2155,12 +2280,6 @@ typedef struct VRControllerState_t
struct VRControllerAxis_t rAxis[5]; //struct vr::VRControllerAxis_t[5]
} VRControllerState_t;
typedef struct VRBoneTransform_t
{
struct HmdVector4_t position;
struct HmdQuaternionf_t orientation;
} VRBoneTransform_t;
typedef struct CameraVideoStreamFrameHeader_t
{
enum EVRTrackedCameraFrameType eFrameType;
@@ -2248,6 +2367,13 @@ typedef struct Compositor_CumulativeStats
uint32_t m_nNumFramePresentsTimedOut;
uint32_t m_nNumDroppedFramesTimedOut;
uint32_t m_nNumReprojectedFramesTimedOut;
uint32_t m_nNumFrameSubmits;
vrshared_double m_flSumCompositorCPUTimeMS;
vrshared_double m_flSumCompositorGPUTimeMS;
vrshared_double m_flSumTargetFrameTimes;
vrshared_double m_flSumApplicationCPUTimeMS;
vrshared_double m_flSumApplicationGPUTimeMS;
uint32_t m_nNumFramesWithDepth;
} Compositor_CumulativeStats;
typedef struct Compositor_StageRenderSettings
@@ -2292,6 +2418,14 @@ typedef struct IntersectionMaskCircle_t
float m_flRadius;
} IntersectionMaskCircle_t;
typedef struct VROverlayProjection_t
{
float fLeft;
float fRight;
float fTop;
float fBottom;
} VROverlayProjection_t;
typedef struct VROverlayView_t
{
VROverlayHandle_t overlayHandle;
@@ -2330,6 +2464,7 @@ typedef struct RenderModel_TextureMap_t
uint16_t unHeight;
uint8_t * rubTextureMapData; // const uint8_t *
enum EVRRenderModelTextureFormat format;
uint16_t unMipLevels;
} RenderModel_TextureMap_t;
#if defined(__linux__) || defined(__APPLE__)
@@ -2592,7 +2727,6 @@ struct VR_IVRSystem_FnTable
bool (OPENVR_FNTABLE_CALLTYPE *IsDisplayOnDesktop)();
bool (OPENVR_FNTABLE_CALLTYPE *SetDisplayVisibility)(bool bIsVisibleOnDesktop);
void (OPENVR_FNTABLE_CALLTYPE *GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, struct TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount);
void (OPENVR_FNTABLE_CALLTYPE *ResetSeatedZeroPose)();
struct HmdMatrix34_t (OPENVR_FNTABLE_CALLTYPE *GetSeatedZeroPoseToStandingAbsoluteTrackingPose)();
struct HmdMatrix34_t (OPENVR_FNTABLE_CALLTYPE *GetRawZeroPoseToStandingAbsoluteTrackingPose)();
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex);
@@ -2698,6 +2832,7 @@ struct VR_IVRChaperone_FnTable
void (OPENVR_FNTABLE_CALLTYPE *GetBoundsColor)(struct HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, struct HmdColor_t * pOutputCameraColor);
bool (OPENVR_FNTABLE_CALLTYPE *AreBoundsVisible)();
void (OPENVR_FNTABLE_CALLTYPE *ForceBoundsVisible)(bool bForce);
void (OPENVR_FNTABLE_CALLTYPE *ResetZeroPose)(ETrackingUniverseOrigin eTrackingUniverseOrigin);
};
struct VR_IVRChaperoneSetup_FnTable
@@ -2740,7 +2875,7 @@ struct VR_IVRCompositor_FnTable
void (OPENVR_FNTABLE_CALLTYPE *GetCumulativeStats)(struct Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes);
void (OPENVR_FNTABLE_CALLTYPE *FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground);
struct HmdColor_t (OPENVR_FNTABLE_CALLTYPE *GetCurrentFadeColor)(bool bBackground);
void (OPENVR_FNTABLE_CALLTYPE *FadeGrid)(float fSeconds, bool bFadeIn);
void (OPENVR_FNTABLE_CALLTYPE *FadeGrid)(float fSeconds, bool bFadeGridIn);
float (OPENVR_FNTABLE_CALLTYPE *GetCurrentGridAlpha)();
EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *SetSkyboxOverride)(struct Texture_t * pTextures, uint32_t unTextureCount);
void (OPENVR_FNTABLE_CALLTYPE *ClearSkyboxOverride)();
@@ -2806,6 +2941,8 @@ struct VR_IVROverlay_FnTable
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float fRadians);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float * pfRadians);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, struct VRTextureBounds_t * pOverlayTextureBounds);
@@ -2817,14 +2954,14 @@ struct VR_IVROverlay_FnTable
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, struct HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, char * pchComponentName);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, struct HmdMatrix34_t * pmatParentOverlayToOverlayTransform);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, struct HmdMatrix34_t * pmatParentOverlayToOverlayTransform);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, struct HmdVector2_t * pvHotspot);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, struct HmdVector2_t * pvHotspot);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, struct VROverlayProjection_t * pProjection, EVREye eEye);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowOverlay)(VROverlayHandle_t ulOverlayHandle);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *HideOverlay)(VROverlayHandle_t ulOverlayHandle);
bool (OPENVR_FNTABLE_CALLTYPE *IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, struct HmdVector2_t coordinatesInOverlay, struct HmdMatrix34_t * pmatTransform);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *WaitFrameSync)(uint32_t nTimeoutMs);
bool (OPENVR_FNTABLE_CALLTYPE *PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, struct VREvent_t * pEvent, uint32_t uncbVREvent);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod);
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod);
@@ -3031,7 +3168,7 @@ struct VR_IVRPaths_FnTable
struct VR_IVRBlockQueue_FnTable
{
EBlockQueueError (OPENVR_FNTABLE_CALLTYPE *Create)(PropertyContainerHandle_t * pulQueueHandle, char * pchPath, uint32_t unBlockDataSize, uint32_t unBlockHeaderSize, uint32_t unBlockCount);
EBlockQueueError (OPENVR_FNTABLE_CALLTYPE *Create)(PropertyContainerHandle_t * pulQueueHandle, char * pchPath, uint32_t unBlockDataSize, uint32_t unBlockHeaderSize, uint32_t unBlockCount, uint32_t unFlags);
EBlockQueueError (OPENVR_FNTABLE_CALLTYPE *Connect)(PropertyContainerHandle_t * pulQueueHandle, char * pchPath);
EBlockQueueError (OPENVR_FNTABLE_CALLTYPE *Destroy)(PropertyContainerHandle_t ulQueueHandle);
EBlockQueueError (OPENVR_FNTABLE_CALLTYPE *AcquireWriteOnlyBlock)(PropertyContainerHandle_t ulQueueHandle, PropertyContainerHandle_t * pulBlockHandle, void ** ppvBuffer);
File diff suppressed because it is too large Load Diff