Update OVR to 1.10.30 (#379)
* updated to ovr 1.10.30 * fixed updated showoverlaykeyboard call * fixed keyboard location
This commit is contained in:
+130
-70
@@ -78,6 +78,7 @@ static const unsigned int k_unUint64PropertyTag = 3;
|
||||
static const unsigned int k_unBoolPropertyTag = 4;
|
||||
static const unsigned int k_unStringPropertyTag = 5;
|
||||
static const unsigned int k_unErrorPropertyTag = 6;
|
||||
static const unsigned int k_unDoublePropertyTag = 7;
|
||||
static const unsigned int k_unHmdMatrix34PropertyTag = 20;
|
||||
static const unsigned int k_unHmdMatrix44PropertyTag = 21;
|
||||
static const unsigned int k_unHmdVector3PropertyTag = 22;
|
||||
@@ -113,12 +114,17 @@ 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 * IVRChaperoneSetup_Version = "IVRChaperoneSetup_006";
|
||||
static const char * IVRCompositor_Version = "IVRCompositor_024";
|
||||
static const char * IVRCompositor_Version = "IVRCompositor_026";
|
||||
static const unsigned int k_unVROverlayMaxKeyLength = 128;
|
||||
static const unsigned int k_unVROverlayMaxNameLength = 128;
|
||||
static const unsigned int k_unMaxOverlayCount = 128;
|
||||
static const unsigned int k_unMaxOverlayIntersectionMaskPrimitivesCount = 32;
|
||||
static const char * IVROverlay_Version = "IVROverlay_022";
|
||||
static const char * IVROverlay_Version = "IVROverlay_024";
|
||||
static const char * IVROverlayView_Version = "IVROverlayView_003";
|
||||
static const unsigned int k_unHeadsetViewMaxWidth = 3840;
|
||||
static const unsigned int k_unHeadsetViewMaxHeight = 2160;
|
||||
static const char * k_pchHeadsetViewOverlayKey = "system.HeadsetView";
|
||||
static const char * IVRHeadsetView_Version = "IVRHeadsetView_001";
|
||||
static const char * k_pch_Controller_Component_GDC2015 = "gdc2015";
|
||||
static const char * k_pch_Controller_Component_Base = "base";
|
||||
static const char * k_pch_Controller_Component_Tip = "tip";
|
||||
@@ -196,6 +202,8 @@ static const char * k_pch_SteamVR_HmdDisplayColorGainB_Float = "hmdDisplayColorG
|
||||
static const char * k_pch_SteamVR_CustomIconStyle_String = "customIconStyle";
|
||||
static const char * k_pch_SteamVR_CustomOffIconStyle_String = "customOffIconStyle";
|
||||
static const char * k_pch_SteamVR_CustomIconForceUpdate_String = "customIconForceUpdate";
|
||||
static const char * k_pch_SteamVR_AllowGlobalActionSetPriority = "globalActionSetPriority";
|
||||
static const char * k_pch_SteamVR_OverlayRenderQuality = "overlayRenderQuality_2";
|
||||
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";
|
||||
@@ -293,13 +301,13 @@ static const char * k_pch_Power_PauseCompositorOnStandby_Bool = "pauseCompositor
|
||||
static const char * k_pch_Dashboard_Section = "dashboard";
|
||||
static const char * k_pch_Dashboard_EnableDashboard_Bool = "enableDashboard";
|
||||
static const char * k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode";
|
||||
static const char * k_pch_Dashboard_UseWebKeyboard = "useWebKeyboard";
|
||||
static const char * k_pch_Dashboard_UseWebSettings = "useWebSettings";
|
||||
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_modelskin_Section = "modelskins";
|
||||
static const char * k_pch_Driver_Enable_Bool = "enable";
|
||||
static const char * k_pch_Driver_BlockedBySafemode_Bool = "blocked_by_safe_mode";
|
||||
static const char * k_pch_Driver_LoadPriority_Int32 = "loadPriority";
|
||||
static const char * k_pch_WebInterface_Section = "WebInterface";
|
||||
static const char * k_pch_VRWebHelper_Section = "VRWebHelper";
|
||||
@@ -307,9 +315,12 @@ static const char * k_pch_VRWebHelper_DebuggerEnabled_Bool = "DebuggerEnabled";
|
||||
static const char * k_pch_VRWebHelper_DebuggerPort_Int32 = "DebuggerPort";
|
||||
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_BindingCurrentURLSuffix_String = "CurrentURL";
|
||||
static const char * k_pch_App_BindingPreviousURLSuffix_String = "PreviousURL";
|
||||
static const char * k_pch_App_NeedToUpdateAutosaveSuffix_Bool = "NeedToUpdateAutosave";
|
||||
static const char * k_pch_App_DominantHand_Int32 = "DominantHand";
|
||||
static const char * k_pch_Trackers_Section = "trackers";
|
||||
static const char * k_pch_DesktopUI_Section = "DesktopUI";
|
||||
static const char * k_pch_LastKnown_Section = "LastKnown";
|
||||
@@ -328,7 +339,10 @@ static const unsigned int k_unMaxActionNameLength = 64;
|
||||
static const unsigned int k_unMaxActionSetNameLength = 64;
|
||||
static const unsigned int k_unMaxActionOriginCount = 16;
|
||||
static const unsigned int k_unMaxBoneNameLength = 32;
|
||||
static const char * IVRInput_Version = "IVRInput_007";
|
||||
static const int k_nActionSetOverlayGlobalPriorityMin = 16777216;
|
||||
static const int k_nActionSetOverlayGlobalPriorityMax = 33554431;
|
||||
static const int k_nActionSetPriorityReservedMin = 33554432;
|
||||
static const char * IVRInput_Version = "IVRInput_010";
|
||||
static const unsigned long k_ulInvalidIOBufferHandle = 0;
|
||||
static const char * IVRIOBuffer_Version = "IVRIOBuffer_002";
|
||||
static const unsigned int k_ulInvalidSpatialAnchorHandle = 0;
|
||||
@@ -548,7 +562,6 @@ typedef enum ETrackedDeviceProperty
|
||||
ETrackedDeviceProperty_Prop_DisplaySupportsAnalogGain_Bool = 2085,
|
||||
ETrackedDeviceProperty_Prop_DisplayMinAnalogGain_Float = 2086,
|
||||
ETrackedDeviceProperty_Prop_DisplayMaxAnalogGain_Float = 2087,
|
||||
ETrackedDeviceProperty_Prop_DashboardLayoutPathName_String = 2090,
|
||||
ETrackedDeviceProperty_Prop_DashboardScale_Float = 2091,
|
||||
ETrackedDeviceProperty_Prop_IpdUIRangeMinMeters_Float = 2100,
|
||||
ETrackedDeviceProperty_Prop_IpdUIRangeMaxMeters_Float = 2101,
|
||||
@@ -646,6 +659,7 @@ typedef enum EVRSubmitFlags
|
||||
EVRSubmitFlags_Submit_Reserved = 4,
|
||||
EVRSubmitFlags_Submit_TextureWithPose = 8,
|
||||
EVRSubmitFlags_Submit_TextureWithDepth = 16,
|
||||
EVRSubmitFlags_Submit_FrameDiscontinuty = 32,
|
||||
} EVRSubmitFlags;
|
||||
|
||||
typedef enum EVRState
|
||||
@@ -682,14 +696,7 @@ typedef enum EVREventType
|
||||
EVREventType_VREvent_ButtonUnpress = 201,
|
||||
EVREventType_VREvent_ButtonTouch = 202,
|
||||
EVREventType_VREvent_ButtonUntouch = 203,
|
||||
EVREventType_VREvent_DualAnalog_Press = 250,
|
||||
EVREventType_VREvent_DualAnalog_Unpress = 251,
|
||||
EVREventType_VREvent_DualAnalog_Touch = 252,
|
||||
EVREventType_VREvent_DualAnalog_Untouch = 253,
|
||||
EVREventType_VREvent_DualAnalog_Move = 254,
|
||||
EVREventType_VREvent_DualAnalog_ModeSwitch1 = 255,
|
||||
EVREventType_VREvent_DualAnalog_ModeSwitch2 = 256,
|
||||
EVREventType_VREvent_DualAnalog_Cancel = 257,
|
||||
EVREventType_VREvent_Modal_Cancel = 257,
|
||||
EVREventType_VREvent_MouseMove = 300,
|
||||
EVREventType_VREvent_MouseButtonDown = 301,
|
||||
EVREventType_VREvent_MouseButtonUp = 302,
|
||||
@@ -700,6 +707,8 @@ typedef enum EVREventType
|
||||
EVREventType_VREvent_OverlayFocusChanged = 307,
|
||||
EVREventType_VREvent_ReloadOverlays = 308,
|
||||
EVREventType_VREvent_ScrollSmooth = 309,
|
||||
EVREventType_VREvent_LockMousePosition = 310,
|
||||
EVREventType_VREvent_UnlockMousePosition = 311,
|
||||
EVREventType_VREvent_InputFocusCaptured = 400,
|
||||
EVREventType_VREvent_InputFocusReleased = 401,
|
||||
EVREventType_VREvent_SceneApplicationChanged = 404,
|
||||
@@ -871,12 +880,6 @@ typedef enum EVRMouseButton
|
||||
EVRMouseButton_VRMouseButton_Middle = 4,
|
||||
} EVRMouseButton;
|
||||
|
||||
typedef enum EDualAnalogWhich
|
||||
{
|
||||
EDualAnalogWhich_k_EDualAnalog_Left = 0,
|
||||
EDualAnalogWhich_k_EDualAnalog_Right = 1,
|
||||
} EDualAnalogWhich;
|
||||
|
||||
typedef enum EShowUIType
|
||||
{
|
||||
EShowUIType_ShowUI_ControllerBinding = 0,
|
||||
@@ -885,6 +888,7 @@ typedef enum EShowUIType
|
||||
EShowUIType_ShowUI_Settings = 4,
|
||||
EShowUIType_ShowUI_DebugCommands = 5,
|
||||
EShowUIType_ShowUI_FullControllerBinding = 6,
|
||||
EShowUIType_ShowUI_ManageDrivers = 7,
|
||||
} EShowUIType;
|
||||
|
||||
typedef enum EHDCPError
|
||||
@@ -896,6 +900,16 @@ typedef enum EHDCPError
|
||||
EHDCPError_HDCPError_Unknown = 4,
|
||||
} EHDCPError;
|
||||
|
||||
typedef enum EVRComponentProperty
|
||||
{
|
||||
EVRComponentProperty_VRComponentProperty_IsStatic = 1,
|
||||
EVRComponentProperty_VRComponentProperty_IsVisible = 2,
|
||||
EVRComponentProperty_VRComponentProperty_IsTouched = 4,
|
||||
EVRComponentProperty_VRComponentProperty_IsPressed = 8,
|
||||
EVRComponentProperty_VRComponentProperty_IsScrolled = 16,
|
||||
EVRComponentProperty_VRComponentProperty_IsHighlighted = 32,
|
||||
} EVRComponentProperty;
|
||||
|
||||
typedef enum EVRInputError
|
||||
{
|
||||
EVRInputError_VRInputError_None = 0,
|
||||
@@ -916,6 +930,9 @@ typedef enum EVRInputError
|
||||
EVRInputError_VRInputError_MismatchedActionManifest = 15,
|
||||
EVRInputError_VRInputError_MissingSkeletonData = 16,
|
||||
EVRInputError_VRInputError_InvalidBoneIndex = 17,
|
||||
EVRInputError_VRInputError_InvalidPriority = 18,
|
||||
EVRInputError_VRInputError_PermissionDenied = 19,
|
||||
EVRInputError_VRInputError_InvalidRenderModel = 20,
|
||||
} EVRInputError;
|
||||
|
||||
typedef enum EVRSpatialAnchorError
|
||||
@@ -1196,7 +1213,7 @@ typedef enum EVRInitError
|
||||
EVRInitError_VRInitError_Compositor_CreateFallbackSyncTexture = 477,
|
||||
EVRInitError_VRInitError_Compositor_ShareFallbackSyncTexture = 478,
|
||||
EVRInitError_VRInitError_Compositor_CreateOverlayIndexBuffer = 479,
|
||||
EVRInitError_VRInitError_Compositor_CreateOverlayVertextBuffer = 480,
|
||||
EVRInitError_VRInitError_Compositor_CreateOverlayVertexBuffer = 480,
|
||||
EVRInitError_VRInitError_Compositor_CreateTextVertexBuffer = 481,
|
||||
EVRInitError_VRInitError_Compositor_CreateTextIndexBuffer = 482,
|
||||
EVRInitError_VRInitError_Compositor_CreateMirrorTextures = 483,
|
||||
@@ -1204,6 +1221,9 @@ typedef enum EVRInitError
|
||||
EVRInitError_VRInitError_Compositor_CreateMirrorOverlay = 485,
|
||||
EVRInitError_VRInitError_Compositor_FailedToCreateVirtualDisplayBackbuffer = 486,
|
||||
EVRInitError_VRInitError_Compositor_DisplayModeNotSupported = 487,
|
||||
EVRInitError_VRInitError_Compositor_CreateOverlayInvalidCall = 488,
|
||||
EVRInitError_VRInitError_Compositor_CreateOverlayAlreadyInitialized = 489,
|
||||
EVRInitError_VRInitError_Compositor_FailedToCreateMailbox = 490,
|
||||
EVRInitError_VRInitError_VendorSpecific_UnableToConnectToOculusRuntime = 1000,
|
||||
EVRInitError_VRInitError_VendorSpecific_WindowsNotInDevMode = 1001,
|
||||
EVRInitError_VRInitError_VendorSpecific_HmdFound_CantOpenDevice = 1101,
|
||||
@@ -1417,7 +1437,6 @@ typedef enum VROverlayInputMethod
|
||||
{
|
||||
VROverlayInputMethod_None = 0,
|
||||
VROverlayInputMethod_Mouse = 1,
|
||||
VROverlayInputMethod_DualAnalog = 2,
|
||||
} VROverlayInputMethod;
|
||||
|
||||
typedef enum VROverlayTransformType
|
||||
@@ -1430,6 +1449,7 @@ typedef enum VROverlayTransformType
|
||||
VROverlayTransformType_VROverlayTransform_Cursor = 4,
|
||||
VROverlayTransformType_VROverlayTransform_DashboardTab = 5,
|
||||
VROverlayTransformType_VROverlayTransform_DashboardThumb = 6,
|
||||
VROverlayTransformType_VROverlayTransform_Mountable = 7,
|
||||
} VROverlayTransformType;
|
||||
|
||||
typedef enum VROverlayFlags
|
||||
@@ -1449,6 +1469,8 @@ typedef enum VROverlayFlags
|
||||
VROverlayFlags_SendVRSmoothScrollEvents = 131072,
|
||||
VROverlayFlags_ProtectedContent = 262144,
|
||||
VROverlayFlags_HideLaserIntersection = 524288,
|
||||
VROverlayFlags_WantsModalBehavior = 1048576,
|
||||
VROverlayFlags_IsPremultiplied = 2097152,
|
||||
} VROverlayFlags;
|
||||
|
||||
typedef enum VRMessageOverlayResponse
|
||||
@@ -1481,6 +1503,26 @@ typedef enum EVROverlayIntersectionMaskPrimitiveType
|
||||
EVROverlayIntersectionMaskPrimitiveType_OverlayIntersectionPrimitiveType_Circle = 1,
|
||||
} EVROverlayIntersectionMaskPrimitiveType;
|
||||
|
||||
typedef enum EKeyboardFlags
|
||||
{
|
||||
EKeyboardFlags_KeyboardFlag_Minimal = 1,
|
||||
EKeyboardFlags_KeyboardFlag_Modal = 2,
|
||||
} EKeyboardFlags;
|
||||
|
||||
typedef enum EDeviceType
|
||||
{
|
||||
EDeviceType_DeviceType_Invalid = -1,
|
||||
EDeviceType_DeviceType_DirectX11 = 0,
|
||||
EDeviceType_DeviceType_Vulkan = 1,
|
||||
} EDeviceType;
|
||||
|
||||
typedef enum HeadsetViewMode_t
|
||||
{
|
||||
HeadsetViewMode_t_HeadsetViewMode_Left = 0,
|
||||
HeadsetViewMode_t_HeadsetViewMode_Right = 1,
|
||||
HeadsetViewMode_t_HeadsetViewMode_Both = 2,
|
||||
} HeadsetViewMode_t;
|
||||
|
||||
typedef enum EVRRenderModelError
|
||||
{
|
||||
EVRRenderModelError_VRRenderModelError_None = 0,
|
||||
@@ -1498,15 +1540,6 @@ typedef enum EVRRenderModelError
|
||||
EVRRenderModelError_VRRenderModelError_InvalidTexture = 400,
|
||||
} EVRRenderModelError;
|
||||
|
||||
typedef enum EVRComponentProperty
|
||||
{
|
||||
EVRComponentProperty_VRComponentProperty_IsStatic = 1,
|
||||
EVRComponentProperty_VRComponentProperty_IsVisible = 2,
|
||||
EVRComponentProperty_VRComponentProperty_IsTouched = 4,
|
||||
EVRComponentProperty_VRComponentProperty_IsPressed = 8,
|
||||
EVRComponentProperty_VRComponentProperty_IsScrolled = 16,
|
||||
} EVRComponentProperty;
|
||||
|
||||
typedef enum EVRNotificationType
|
||||
{
|
||||
EVRNotificationType_Transient = 0,
|
||||
@@ -1641,11 +1674,11 @@ typedef PropertyContainerHandle_t DriverHandle_t;
|
||||
typedef uint64_t VRActionHandle_t;
|
||||
typedef uint64_t VRActionSetHandle_t;
|
||||
typedef uint64_t VRInputValueHandle_t;
|
||||
typedef uint32_t VRComponentProperties;
|
||||
typedef uint64_t VROverlayHandle_t;
|
||||
typedef int32_t BoneIndex_t;
|
||||
typedef uint64_t TrackedCameraHandle_t;
|
||||
typedef uint32_t ScreenshotHandle_t;
|
||||
typedef uint32_t VRComponentProperties;
|
||||
typedef int32_t TextureID_t;
|
||||
typedef uint32_t VRNotificationId;
|
||||
typedef uint64_t IOBufferHandle_t;
|
||||
@@ -1939,15 +1972,6 @@ typedef struct VREvent_Property_t
|
||||
enum ETrackedDeviceProperty prop;
|
||||
} VREvent_Property_t;
|
||||
|
||||
typedef struct VREvent_DualAnalog_t
|
||||
{
|
||||
float x;
|
||||
float y;
|
||||
float transformedX;
|
||||
float transformedY;
|
||||
enum EDualAnalogWhich which;
|
||||
} VREvent_DualAnalog_t;
|
||||
|
||||
typedef struct VREvent_HapticVibration_t
|
||||
{
|
||||
uint64_t containerHandle;
|
||||
@@ -2008,6 +2032,13 @@ typedef struct VREvent_HDCPError_t
|
||||
enum EHDCPError eCode;
|
||||
} VREvent_HDCPError_t;
|
||||
|
||||
typedef struct RenderModel_ComponentState_t
|
||||
{
|
||||
struct HmdMatrix34_t mTrackingToComponentRenderModel;
|
||||
struct HmdMatrix34_t mTrackingToComponentLocal;
|
||||
VRComponentProperties uProperties;
|
||||
} RenderModel_ComponentState_t;
|
||||
|
||||
typedef struct HiddenAreaMesh_t
|
||||
{
|
||||
struct HmdVector2_t * pVertexData; // const struct vr::HmdVector2_t *
|
||||
@@ -2028,24 +2059,6 @@ typedef struct VRControllerState_t
|
||||
struct VRControllerAxis_t rAxis[5]; //struct vr::VRControllerAxis_t[5]
|
||||
} VRControllerState_t;
|
||||
|
||||
typedef struct Compositor_OverlaySettings
|
||||
{
|
||||
uint32_t size;
|
||||
bool curved;
|
||||
bool antialias;
|
||||
float scale;
|
||||
float distance;
|
||||
float alpha;
|
||||
float uOffset;
|
||||
float vOffset;
|
||||
float uScale;
|
||||
float vScale;
|
||||
float gridDivs;
|
||||
float gridWidth;
|
||||
float gridScale;
|
||||
struct HmdMatrix44_t transform;
|
||||
} Compositor_OverlaySettings;
|
||||
|
||||
typedef struct VRBoneTransform_t
|
||||
{
|
||||
struct HmdVector4_t position;
|
||||
@@ -2093,6 +2106,12 @@ typedef struct Compositor_FrameTiming
|
||||
uint32_t m_nNumVSyncsToFirstView;
|
||||
} Compositor_FrameTiming;
|
||||
|
||||
typedef struct Compositor_BenchmarkResults
|
||||
{
|
||||
float m_flMegaPixelsPerSecond;
|
||||
float m_flHmdRecommendedMegaPixelsPerSecond;
|
||||
} Compositor_BenchmarkResults;
|
||||
|
||||
typedef struct DriverDirectMode_FrameTiming
|
||||
{
|
||||
uint32_t m_nSize;
|
||||
@@ -2177,12 +2196,27 @@ typedef struct IntersectionMaskCircle_t
|
||||
float m_flRadius;
|
||||
} IntersectionMaskCircle_t;
|
||||
|
||||
typedef struct RenderModel_ComponentState_t
|
||||
typedef struct VROverlayView_t
|
||||
{
|
||||
struct HmdMatrix34_t mTrackingToComponentRenderModel;
|
||||
struct HmdMatrix34_t mTrackingToComponentLocal;
|
||||
VRComponentProperties uProperties;
|
||||
} RenderModel_ComponentState_t;
|
||||
VROverlayHandle_t overlayHandle;
|
||||
struct Texture_t texture;
|
||||
struct VRTextureBounds_t textureBounds;
|
||||
} VROverlayView_t;
|
||||
|
||||
typedef struct VRVulkanDevice_t
|
||||
{
|
||||
struct VkInstance_T * m_pInstance; // struct VkInstance_T *
|
||||
struct VkDevice_T * m_pDevice; // struct VkDevice_T *
|
||||
struct VkPhysicalDevice_T * m_pPhysicalDevice; // struct VkPhysicalDevice_T *
|
||||
struct VkQueue_T * m_pQueue; // struct VkQueue_T *
|
||||
uint32_t m_uQueueFamilyIndex;
|
||||
} VRVulkanDevice_t;
|
||||
|
||||
typedef struct VRNativeDevice_t
|
||||
{
|
||||
void * handle; // void *
|
||||
enum EDeviceType eType;
|
||||
} VRNativeDevice_t;
|
||||
|
||||
typedef struct RenderModel_Vertex_t
|
||||
{
|
||||
@@ -2285,6 +2319,7 @@ typedef struct InputBindingInfo_t
|
||||
char rchInputPathName[128]; //char[128]
|
||||
char rchModeName[128]; //char[128]
|
||||
char rchSlotName[128]; //char[128]
|
||||
char rchInputSourceType[32]; //char[32]
|
||||
} InputBindingInfo_t;
|
||||
|
||||
typedef struct VRActiveActionSet_t
|
||||
@@ -2313,7 +2348,9 @@ typedef struct COpenVRContext
|
||||
intptr_t m_pVRChaperone; // class vr::IVRChaperone *
|
||||
intptr_t m_pVRChaperoneSetup; // class vr::IVRChaperoneSetup *
|
||||
intptr_t m_pVRCompositor; // class vr::IVRCompositor *
|
||||
intptr_t m_pVRHeadsetView; // class vr::IVRHeadsetView *
|
||||
intptr_t m_pVROverlay; // class vr::IVROverlay *
|
||||
intptr_t m_pVROverlayView; // class vr::IVROverlayView *
|
||||
intptr_t m_pVRResources; // class vr::IVRResources *
|
||||
intptr_t m_pVRRenderModels; // class vr::IVRRenderModels *
|
||||
intptr_t m_pVRExtendedDisplay; // class vr::IVRExtendedDisplay *
|
||||
@@ -2352,7 +2389,6 @@ typedef union
|
||||
VREvent_EditingCameraSurface_t cameraSurface;
|
||||
VREvent_MessageOverlay_t messageOverlay;
|
||||
VREvent_Property_t property;
|
||||
VREvent_DualAnalog_t dualAnalog;
|
||||
VREvent_HapticVibration_t hapticVibration;
|
||||
VREvent_WebConsole_t webConsole;
|
||||
VREvent_InputBindingLoad_t inputBinding;
|
||||
@@ -2592,6 +2628,9 @@ struct VR_IVRCompositor_FnTable
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *IsCurrentSceneFocusAppLoading)();
|
||||
EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *SetStageOverride_Async)(char * pchRenderModelPath, struct HmdMatrix34_t * pTransform, struct Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *ClearStageOverride)();
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *GetCompositorBenchmarkResults)(struct Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults);
|
||||
EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *GetLastPosePredictionIDs)(uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID);
|
||||
EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *GetPosesForFrame)(uint32_t unPosePredictionID, struct TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount);
|
||||
};
|
||||
|
||||
struct VR_IVROverlay_FnTable
|
||||
@@ -2625,8 +2664,6 @@ struct VR_IVROverlay_FnTable
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, struct VRTextureBounds_t * pOverlayTextureBounds);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, struct VRTextureBounds_t * pOverlayTextureBounds);
|
||||
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, struct HmdColor_t * pColor, EVROverlayError * pError);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchRenderModel, struct HmdColor_t * pColor);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToOverlayTransform);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToOverlayTransform);
|
||||
@@ -2649,8 +2686,6 @@ struct VR_IVROverlay_FnTable
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, struct HmdVector2_t * pvecMouseScale);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, struct VROverlayIntersectionParams_t * pParams, struct VROverlayIntersectionResults_t * pResults);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, struct HmdVector2_t * pvCenter, float fRadius);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, struct HmdVector2_t * pvCenter, float * pfRadius);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, struct VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle);
|
||||
@@ -2670,8 +2705,8 @@ struct VR_IVROverlay_FnTable
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *ShowDashboard)(char * pchOverlayToShow);
|
||||
TrackedDeviceIndex_t (OPENVR_FNTABLE_CALLTYPE *GetPrimaryDashboardDevice)();
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, char * pchDescription, uint32_t unCharMax, char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, char * pchDescription, uint32_t unCharMax, char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, char * pchDescription, uint32_t unCharMax, char * pchExistingText, uint64_t uUserValue);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, char * pchDescription, uint32_t unCharMax, char * pchExistingText, uint64_t uUserValue);
|
||||
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetKeyboardText)(char * pchText, uint32_t cchText);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *HideKeyboard)();
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform);
|
||||
@@ -2680,6 +2715,27 @@ struct VR_IVROverlay_FnTable
|
||||
void (OPENVR_FNTABLE_CALLTYPE *CloseMessageOverlay)();
|
||||
};
|
||||
|
||||
struct VR_IVROverlayView_FnTable
|
||||
{
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *AcquireOverlayView)(VROverlayHandle_t ulOverlayHandle, struct VRNativeDevice_t * pNativeDevice, struct VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ReleaseOverlayView)(struct VROverlayView_t * pOverlayView);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *PostOverlayEvent)(VROverlayHandle_t ulOverlayHandle, struct VREvent_t * pvrEvent);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *IsViewingPermitted)(VROverlayHandle_t ulOverlayHandle);
|
||||
};
|
||||
|
||||
struct VR_IVRHeadsetView_FnTable
|
||||
{
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetHeadsetViewSize)(uint32_t nWidth, uint32_t nHeight);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *GetHeadsetViewSize)(uint32_t * pnWidth, uint32_t * pnHeight);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetHeadsetViewMode)(HeadsetViewMode_t eHeadsetViewMode);
|
||||
HeadsetViewMode_t (OPENVR_FNTABLE_CALLTYPE *GetHeadsetViewMode)();
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetHeadsetViewCropped)(bool bCropped);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *GetHeadsetViewCropped)();
|
||||
float (OPENVR_FNTABLE_CALLTYPE *GetHeadsetViewAspectRatio)();
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetHeadsetViewBlendRange)(float flStartPct, float flEndPct);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *GetHeadsetViewBlendRange)(float * pStartPct, float * pEndPct);
|
||||
};
|
||||
|
||||
struct VR_IVRRenderModels_FnTable
|
||||
{
|
||||
EVRRenderModelError (OPENVR_FNTABLE_CALLTYPE *LoadRenderModel_Async)(char * pchRenderModelName, struct RenderModel_t ** ppRenderModel);
|
||||
@@ -2761,6 +2817,8 @@ struct VR_IVRInput_FnTable
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetPoseActionDataRelativeToNow)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, struct InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetPoseActionDataForNextFrame)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, struct InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetSkeletalActionData)(VRActionHandle_t action, struct InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetDominantHand)(ETrackedControllerRole * peDominantHand);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *SetDominantHand)(ETrackedControllerRole eDominantHand);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize);
|
||||
@@ -2777,8 +2835,10 @@ struct VR_IVRInput_FnTable
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetActionBindingInfo)(VRActionHandle_t action, struct InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *ShowBindingsForActionSet)(struct VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetComponentStateForBinding)(char * pchRenderModelName, char * pchComponentName, struct InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *IsUsingLegacyInput)();
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *OpenBindingUI)(char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetBindingVariant)(VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize);
|
||||
};
|
||||
|
||||
struct VR_IVRIOBuffer_FnTable
|
||||
|
||||
Reference in New Issue
Block a user