@@ -731,7 +731,7 @@ public struct IVRCompositor
731
731
internal _GetCurrentFadeColor GetCurrentFadeColor ;
732
732
733
733
[ UnmanagedFunctionPointer ( CallingConvention . StdCall ) ]
734
- internal delegate void _FadeGrid ( float fSeconds , bool bFadeIn ) ;
734
+ internal delegate void _FadeGrid ( float fSeconds , bool bFadeGridIn ) ;
735
735
[ MarshalAs ( UnmanagedType . FunctionPtr ) ]
736
736
internal _FadeGrid FadeGrid ;
737
737
@@ -1120,6 +1120,11 @@ public struct IVROverlay
1120
1120
[ MarshalAs ( UnmanagedType . FunctionPtr ) ]
1121
1121
internal _GetOverlayTransformCursor GetOverlayTransformCursor ;
1122
1122
1123
+ [ UnmanagedFunctionPointer ( CallingConvention . StdCall ) ]
1124
+ internal delegate EVROverlayError _SetOverlayTransformProjection ( ulong ulOverlayHandle , ETrackingUniverseOrigin eTrackingOrigin , ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform , ref VROverlayProjection_t pProjection , EVREye eEye ) ;
1125
+ [ MarshalAs ( UnmanagedType . FunctionPtr ) ]
1126
+ internal _SetOverlayTransformProjection SetOverlayTransformProjection ;
1127
+
1123
1128
[ UnmanagedFunctionPointer ( CallingConvention . StdCall ) ]
1124
1129
internal delegate EVROverlayError _ShowOverlay ( ulong ulOverlayHandle ) ;
1125
1130
[ MarshalAs ( UnmanagedType . FunctionPtr ) ]
@@ -2899,9 +2904,9 @@ public HmdColor_t GetCurrentFadeColor(bool bBackground)
2899
2904
HmdColor_t result = FnTable . GetCurrentFadeColor ( bBackground ) ;
2900
2905
return result ;
2901
2906
}
2902
- public void FadeGrid ( float fSeconds , bool bFadeIn )
2907
+ public void FadeGrid ( float fSeconds , bool bFadeGridIn )
2903
2908
{
2904
- FnTable . FadeGrid ( fSeconds , bFadeIn ) ;
2909
+ FnTable . FadeGrid ( fSeconds , bFadeGridIn ) ;
2905
2910
}
2906
2911
public float GetCurrentGridAlpha ( )
2907
2912
{
@@ -3310,6 +3315,11 @@ public EVROverlayError GetOverlayTransformCursor(ulong ulOverlayHandle,ref HmdVe
3310
3315
EVROverlayError result = FnTable . GetOverlayTransformCursor ( ulOverlayHandle , ref pvHotspot ) ;
3311
3316
return result ;
3312
3317
}
3318
+ public EVROverlayError SetOverlayTransformProjection ( ulong ulOverlayHandle , ETrackingUniverseOrigin eTrackingOrigin , ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform , ref VROverlayProjection_t pProjection , EVREye eEye )
3319
+ {
3320
+ EVROverlayError result = FnTable . SetOverlayTransformProjection ( ulOverlayHandle , eTrackingOrigin , ref pmatTrackingOriginToOverlayTransform , ref pProjection , eEye ) ;
3321
+ return result ;
3322
+ }
3313
3323
public EVROverlayError ShowOverlay ( ulong ulOverlayHandle )
3314
3324
{
3315
3325
EVROverlayError result = FnTable . ShowOverlay ( ulOverlayHandle ) ;
@@ -4704,9 +4714,13 @@ public enum ETrackedDeviceProperty
4704
4714
Prop_DisplaySupportsAnalogGain_Bool = 2085 ,
4705
4715
Prop_DisplayMinAnalogGain_Float = 2086 ,
4706
4716
Prop_DisplayMaxAnalogGain_Float = 2087 ,
4717
+ Prop_CameraExposureTime_Float = 2088 ,
4718
+ Prop_CameraGlobalGain_Float = 2089 ,
4707
4719
Prop_DashboardScale_Float = 2091 ,
4708
4720
Prop_IpdUIRangeMinMeters_Float = 2100 ,
4709
4721
Prop_IpdUIRangeMaxMeters_Float = 2101 ,
4722
+ Prop_Hmd_SupportsHDCP14LegacyCompat_Bool = 2102 ,
4723
+ Prop_Hmd_SupportsMicMonitoring_Bool = 2103 ,
4710
4724
Prop_DriverRequestedMuraCorrectionMode_Int32 = 2200 ,
4711
4725
Prop_DriverRequestedMuraFeather_InnerLeft_Int32 = 2201 ,
4712
4726
Prop_DriverRequestedMuraFeather_InnerRight_Int32 = 2202 ,
@@ -4801,6 +4815,8 @@ public enum EVRSubmitFlags
4801
4815
Submit_TextureWithDepth = 16 ,
4802
4816
Submit_FrameDiscontinuty = 32 ,
4803
4817
Submit_VulkanTextureWithArrayData = 64 ,
4818
+ Submit_GlArrayTexture = 128 ,
4819
+ Submit_Reserved2 = 32768 ,
4804
4820
}
4805
4821
public enum EVRState
4806
4822
{
@@ -5153,8 +5169,11 @@ public enum EVRApplicationType
5153
5169
VRApplication_SteamWatchdog = 6 ,
5154
5170
VRApplication_Bootstrapper = 7 ,
5155
5171
VRApplication_WebHelper = 8 ,
5156
- VRApplication_OpenXR = 9 ,
5157
- VRApplication_Max = 10 ,
5172
+ VRApplication_OpenXRInstance = 9 ,
5173
+ VRApplication_OpenXRScene = 10 ,
5174
+ VRApplication_OpenXROverlay = 11 ,
5175
+ VRApplication_Prism = 12 ,
5176
+ VRApplication_Max = 13 ,
5158
5177
}
5159
5178
public enum EVRFirmwareError
5160
5179
{
@@ -5234,6 +5253,15 @@ public enum EVRInitError
5234
5253
Init_FailedForVrMonitor = 144 ,
5235
5254
Init_PropertyManagerInitFailed = 145 ,
5236
5255
Init_WebServerFailed = 146 ,
5256
+ Init_IllegalTypeTransition = 147 ,
5257
+ Init_MismatchedRuntimes = 148 ,
5258
+ Init_InvalidProcessId = 149 ,
5259
+ Init_VRServiceStartupFailed = 150 ,
5260
+ Init_PrismNeedsNewDrivers = 151 ,
5261
+ Init_PrismStartupTimedOut = 152 ,
5262
+ Init_CouldNotStartPrism = 153 ,
5263
+ Init_CreateDriverDirectDeviceFailed = 154 ,
5264
+ Init_PrismExitedUnexpectedly = 155 ,
5237
5265
Driver_Failed = 200 ,
5238
5266
Driver_Unknown = 201 ,
5239
5267
Driver_HmdUnknown = 202 ,
@@ -5349,6 +5377,9 @@ public enum EVRInitError
5349
5377
Compositor_CreateOverlayInvalidCall = 488 ,
5350
5378
Compositor_CreateOverlayAlreadyInitialized = 489 ,
5351
5379
Compositor_FailedToCreateMailbox = 490 ,
5380
+ Compositor_WindowInterfaceIsNull = 491 ,
5381
+ Compositor_SystemLayerCreateInstance = 492 ,
5382
+ Compositor_SystemLayerCreateSession = 493 ,
5352
5383
VendorSpecific_UnableToConnectToOculusRuntime = 1000 ,
5353
5384
VendorSpecific_WindowsNotInDevMode = 1001 ,
5354
5385
VendorSpecific_HmdFound_CantOpenDevice = 1101 ,
@@ -5466,6 +5497,7 @@ public enum EVRApplicationError
5466
5497
PropertyNotSet = 201 ,
5467
5498
UnknownProperty = 202 ,
5468
5499
InvalidParameter = 203 ,
5500
+ NotImplemented = 300 ,
5469
5501
}
5470
5502
public enum EVRApplicationProperty
5471
5503
{
@@ -5556,6 +5588,7 @@ public enum VROverlayTransformType
5556
5588
VROverlayTransform_DashboardTab = 5 ,
5557
5589
VROverlayTransform_DashboardThumb = 6 ,
5558
5590
VROverlayTransform_Mountable = 7 ,
5591
+ VROverlayTransform_Projection = 8 ,
5559
5592
}
5560
5593
public enum VROverlayFlags
5561
5594
{
@@ -5949,6 +5982,11 @@ private static void _copysign(ref float sizeval, float signval)
5949
5982
public HmdVector2_t vTopLeft ;
5950
5983
public HmdVector2_t vBottomRight ;
5951
5984
}
5985
+ [ StructLayout ( LayoutKind . Sequential ) ] public struct VRBoneTransform_t
5986
+ {
5987
+ public HmdVector4_t position ;
5988
+ public HmdQuaternionf_t orientation ;
5989
+ }
5952
5990
[ StructLayout ( LayoutKind . Sequential ) ] public struct DistortionCoordinates_t
5953
5991
{
5954
5992
public float rfRed0 ; //float[2]
@@ -6079,6 +6117,7 @@ private static void _copysign(ref float sizeval, float signval)
6079
6117
{
6080
6118
public ulong overlayHandle ;
6081
6119
public ulong devicePath ;
6120
+ public ulong memoryBlockId ;
6082
6121
}
6083
6122
[ StructLayout ( LayoutKind . Sequential ) ] public struct VREvent_Status_t
6084
6123
{
@@ -6301,11 +6340,6 @@ public void Unpack(ref VRControllerState_t unpacked)
6301
6340
unpacked . rAxis4 = this . rAxis4 ;
6302
6341
}
6303
6342
}
6304
- [ StructLayout ( LayoutKind . Sequential ) ] public struct VRBoneTransform_t
6305
- {
6306
- public HmdVector4_t position ;
6307
- public HmdQuaternionf_t orientation ;
6308
- }
6309
6343
[ StructLayout ( LayoutKind . Sequential ) ] public struct CameraVideoStreamFrameHeader_t
6310
6344
{
6311
6345
public EVRTrackedCameraFrameType eFrameType ;
@@ -6433,6 +6467,13 @@ public void Unpack(ref VRControllerState_t unpacked)
6433
6467
public EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType ;
6434
6468
public VROverlayIntersectionMaskPrimitive_Data_t m_Primitive ;
6435
6469
}
6470
+ [ StructLayout ( LayoutKind . Sequential ) ] public struct VROverlayProjection_t
6471
+ {
6472
+ public float fLeft ;
6473
+ public float fRight ;
6474
+ public float fTop ;
6475
+ public float fBottom ;
6476
+ }
6436
6477
[ StructLayout ( LayoutKind . Sequential ) ] public struct VROverlayView_t
6437
6478
{
6438
6479
public ulong overlayHandle ;
@@ -7519,12 +7560,12 @@ public static uint GetInitToken()
7519
7560
public const string IVRApplications_Version = "IVRApplications_007" ;
7520
7561
public const string IVRChaperone_Version = "IVRChaperone_004" ;
7521
7562
public const string IVRChaperoneSetup_Version = "IVRChaperoneSetup_006" ;
7522
- public const string IVRCompositor_Version = "IVRCompositor_026 " ;
7563
+ public const string IVRCompositor_Version = "IVRCompositor_027 " ;
7523
7564
public const uint k_unVROverlayMaxKeyLength = 128 ;
7524
7565
public const uint k_unVROverlayMaxNameLength = 128 ;
7525
7566
public const uint k_unMaxOverlayCount = 128 ;
7526
7567
public const uint k_unMaxOverlayIntersectionMaskPrimitivesCount = 32 ;
7527
- public const string IVROverlay_Version = "IVROverlay_024 " ;
7568
+ public const string IVROverlay_Version = "IVROverlay_025 " ;
7528
7569
public const string IVROverlayView_Version = "IVROverlayView_003" ;
7529
7570
public const uint k_unHeadsetViewMaxWidth = 3840 ;
7530
7571
public const uint k_unHeadsetViewMaxHeight = 2160 ;
@@ -7559,6 +7600,7 @@ public static uint GetInitToken()
7559
7600
public const string k_pch_SteamVR_PlayAreaColor_String = "playAreaColor" ;
7560
7601
public const string k_pch_SteamVR_TrackingLossColor_String = "trackingLossColor" ;
7561
7602
public const string k_pch_SteamVR_ShowStage_Bool = "showStage" ;
7603
+ public const string k_pch_SteamVR_DrawTrackingReferences_Bool = "drawTrackingReferences" ;
7562
7604
public const string k_pch_SteamVR_ActivateMultipleDrivers_Bool = "activateMultipleDrivers" ;
7563
7605
public const string k_pch_SteamVR_UsingSpeakers_Bool = "usingSpeakers" ;
7564
7606
public const string k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees" ;
@@ -7569,6 +7611,8 @@ public static uint GetInitToken()
7569
7611
public const string k_pch_SteamVR_MaxRecommendedResolution_Int32 = "maxRecommendedResolution" ;
7570
7612
public const string k_pch_SteamVR_MotionSmoothing_Bool = "motionSmoothing" ;
7571
7613
public const string k_pch_SteamVR_MotionSmoothingOverride_Int32 = "motionSmoothingOverride" ;
7614
+ public const string k_pch_SteamVR_FramesToThrottle_Int32 = "framesToThrottle" ;
7615
+ public const string k_pch_SteamVR_AdditionalFramesToPredict_Int32 = "additionalFramesToPredict" ;
7572
7616
public const string k_pch_SteamVR_DisableAsyncReprojection_Bool = "disableAsync" ;
7573
7617
public const string k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking" ;
7574
7618
public const string k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView" ;
@@ -7611,6 +7655,8 @@ public static uint GetInitToken()
7611
7655
public const string k_pch_SteamVR_OverlayRenderQuality = "overlayRenderQuality_2" ;
7612
7656
public const string k_pch_SteamVR_BlockOculusSDKOnOpenVRLaunchOption_Bool = "blockOculusSDKOnOpenVRLaunchOption" ;
7613
7657
public const string k_pch_SteamVR_BlockOculusSDKOnAllLaunches_Bool = "blockOculusSDKOnAllLaunches" ;
7658
+ public const string k_pch_SteamVR_HDCPLegacyCompatibility_Bool = "hdcp14legacyCompatibility" ;
7659
+ public const string k_pch_SteamVR_UsePrism_Bool = "usePrism" ;
7614
7660
public const string k_pch_DirectMode_Section = "direct_mode" ;
7615
7661
public const string k_pch_DirectMode_Enable_Bool = "enable" ;
7616
7662
public const string k_pch_DirectMode_Count_Int32 = "count" ;
@@ -7703,6 +7749,7 @@ public static uint GetInitToken()
7703
7749
public const string k_pch_audio_LastHmdPlaybackDeviceId_String = "lastHmdPlaybackDeviceId" ;
7704
7750
public const string k_pch_audio_VIVEHDMIGain = "viveHDMIGain" ;
7705
7751
public const string k_pch_audio_DualSpeakerAndJackOutput_Bool = "dualSpeakerAndJackOutput" ;
7752
+ public const string k_pch_audio_MuteMicMonitor_Bool = "muteMicMonitor" ;
7706
7753
public const string k_pch_Power_Section = "power" ;
7707
7754
public const string k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit" ;
7708
7755
public const string k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout" ;
@@ -7716,6 +7763,7 @@ public static uint GetInitToken()
7716
7763
public const string k_pch_Dashboard_Position = "position" ;
7717
7764
public const string k_pch_Dashboard_DesktopScale = "desktopScale" ;
7718
7765
public const string k_pch_Dashboard_DashboardScale = "dashboardScale" ;
7766
+ public const string k_pch_Dashboard_UseStandaloneSystemLayer = "standaloneSystemLayer" ;
7719
7767
public const string k_pch_modelskin_Section = "modelskins" ;
7720
7768
public const string k_pch_Driver_Enable_Bool = "enable" ;
7721
7769
public const string k_pch_Driver_BlockedBySafemode_Bool = "blocked_by_safe_mode" ;
0 commit comments