15
15
namespace vr
16
16
{
17
17
static const uint32_t k_nSteamVRVersionMajor = 1 ;
18
- static const uint32_t k_nSteamVRVersionMinor = 11 ;
19
- static const uint32_t k_nSteamVRVersionBuild = 11 ;
18
+ static const uint32_t k_nSteamVRVersionMinor = 12 ;
19
+ static const uint32_t k_nSteamVRVersionBuild = 5 ;
20
20
} // namespace vr
21
21
22
22
// vrtypes.h
@@ -634,6 +634,9 @@ enum EVRSubmitFlags
634
634
// Set to indicate a discontinuity between this and the last frame.
635
635
// This will prevent motion smoothing from attempting to extrapolate using the pair.
636
636
Submit_FrameDiscontinuty = 0x20 ,
637
+
638
+ // Set to indicate that pTexture->handle is a contains VRVulkanTextureArrayData_t
639
+ Submit_VulkanTextureWithArrayData = 0x40 ,
637
640
};
638
641
639
642
/* * Data required for passing Vulkan textures to IVRCompositor::Submit.
@@ -650,6 +653,15 @@ struct VRVulkanTextureData_t
650
653
uint32_t m_nWidth, m_nHeight, m_nFormat, m_nSampleCount;
651
654
};
652
655
656
+ /* * Data required for passing Vulkan texture arrays to IVRCompositor::Submit.
657
+ * Be sure to call OpenVR_Shutdown before destroying these resources.
658
+ * Please see https://github.com/ValveSoftware/openvr/wiki/Vulkan for Vulkan-specific documentation */
659
+ struct VRVulkanTextureArrayData_t : public VRVulkanTextureData_t
660
+ {
661
+ uint32_t m_unArrayIndex;
662
+ uint32_t m_unArraySize;
663
+ };
664
+
653
665
/* * Data required for passing D3D12 textures to IVRCompositor::Submit.
654
666
* Be sure to call OpenVR_Shutdown before destroying these resources. */
655
667
struct D3D12TextureData_t
@@ -2700,6 +2712,8 @@ namespace vr
2700
2712
static const char * const k_pch_SteamVR_CustomIconForceUpdate_String = " customIconForceUpdate" ;
2701
2713
static const char * const k_pch_SteamVR_AllowGlobalActionSetPriority = " globalActionSetPriority" ;
2702
2714
static const char * const k_pch_SteamVR_OverlayRenderQuality = " overlayRenderQuality_2" ;
2715
+ static const char * const k_pch_SteamVR_BlockOculusSDKOnOpenVRLaunchOption_Bool = " blockOculusSDKOnOpenVRLaunchOption" ;
2716
+ static const char * const k_pch_SteamVR_BlockOculusSDKOnAllLaunches_Bool = " blockOculusSDKOnAllLaunches" ;
2703
2717
2704
2718
// -----------------------------------------------------------------------------
2705
2719
// direct mode keys
@@ -2878,6 +2892,7 @@ namespace vr
2878
2892
static const char * const k_pch_App_BindingPreviousURLSuffix_String = " PreviousURL" ;
2879
2893
static const char * const k_pch_App_NeedToUpdateAutosaveSuffix_Bool = " NeedToUpdateAutosave" ;
2880
2894
static const char * const k_pch_App_DominantHand_Int32 = " DominantHand" ;
2895
+ static const char * const k_pch_App_BlockOculusSDK_Bool = " blockOculusSDK" ;
2881
2896
2882
2897
// -----------------------------------------------------------------------------
2883
2898
// configuration for trackers
0 commit comments