openvr

package
v0.0.0-...-126c3be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: AGPL-3.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package openvr provides Go bindings for the OpenVR SDK without cgo.

The bindings call openvr_api.dll / libopenvr_api.so through github.com/ebitengine/purego. Every OpenVR interface (IVRSystem, IVROverlay, IVRInput, ...) is exposed as a Go type with one method per API function. Almost everything is generated from openvr_api.json.

Conventions

Methods map 1:1 to the C API with a few adaptations:

  • "const char *" parameters and return values are Go strings.
  • Buffer + size pairs that receive a string are replaced by a string return value; the buffer handling happens inside the wrapper.
  • Pointer + count pairs are slices.
  • sizeof parameters that go with a struct pointer (uncbVREvent, unActionDataSize, ...) are filled in automatically.
  • All other output parameters remain pointers.

Error enums (EVRInitError, EVROverlayError, ...) implement error; use their Err method to turn the "none" value into nil.

Platforms

Windows and Linux on 64-bit architectures (amd64, arm64) are supported. Other targets fail to compile.

Native library

The native library is not bundled. It is searched in this order: the path given to SetLibraryPath, the OPENVR_API_PATH environment variable, the directory of the executable, and finally the default search path of the operating system.

Usage

if err := openvr.Init(openvr.VRApplicationBackground); err != nil {
	log.Fatal(err)
}
defer openvr.Shutdown()

sys := openvr.VRSystem()
name := sys.GetStringTrackedDeviceProperty(openvr.TrackedDeviceIndexHmd, openvr.PropModelNumberString, nil)

Index

Constants

View Source
const (
	// MaxDmabufPlaneCount is MaxDmabufPlaneCount.
	MaxDmabufPlaneCount = 4
	// DriverNone is k_nDriverNone.
	DriverNone = 4294967295
	// MaxDriverDebugResponseSize is k_unMaxDriverDebugResponseSize.
	MaxDriverDebugResponseSize = 32768
	// TrackedDeviceIndexHmd is k_unTrackedDeviceIndex_Hmd.
	TrackedDeviceIndexHmd = 0
	// MaxTrackedDeviceCount is k_unMaxTrackedDeviceCount.
	MaxTrackedDeviceCount = 64
	// TrackedDeviceIndexOther is k_unTrackedDeviceIndexOther.
	TrackedDeviceIndexOther = 4294967294
	// TrackedDeviceIndexInvalid is k_unTrackedDeviceIndexInvalid.
	TrackedDeviceIndexInvalid = 4294967295
	// InvalidPropertyContainer is k_ulInvalidPropertyContainer.
	InvalidPropertyContainer PropertyContainerHandle = 0
	// InvalidPropertyTag is k_unInvalidPropertyTag.
	InvalidPropertyTag PropertyTypeTag = 0
	// InvalidDriverHandle is k_ulInvalidDriverHandle.
	InvalidDriverHandle PropertyContainerHandle = 0
	// FloatPropertyTag is k_unFloatPropertyTag.
	FloatPropertyTag PropertyTypeTag = 1
	// Int32PropertyTag is k_unInt32PropertyTag.
	Int32PropertyTag PropertyTypeTag = 2
	// Uint64PropertyTag is k_unUint64PropertyTag.
	Uint64PropertyTag PropertyTypeTag = 3
	// BoolPropertyTag is k_unBoolPropertyTag.
	BoolPropertyTag PropertyTypeTag = 4
	// StringPropertyTag is k_unStringPropertyTag.
	StringPropertyTag PropertyTypeTag = 5
	// ErrorPropertyTag is k_unErrorPropertyTag.
	ErrorPropertyTag PropertyTypeTag = 6
	// DoublePropertyTag is k_unDoublePropertyTag.
	DoublePropertyTag PropertyTypeTag = 7
	// HmdMatrix34PropertyTag is k_unHmdMatrix34PropertyTag.
	HmdMatrix34PropertyTag PropertyTypeTag = 20
	// HmdMatrix44PropertyTag is k_unHmdMatrix44PropertyTag.
	HmdMatrix44PropertyTag PropertyTypeTag = 21
	// HmdVector3PropertyTag is k_unHmdVector3PropertyTag.
	HmdVector3PropertyTag PropertyTypeTag = 22
	// HmdVector4PropertyTag is k_unHmdVector4PropertyTag.
	HmdVector4PropertyTag PropertyTypeTag = 23
	// HmdVector2PropertyTag is k_unHmdVector2PropertyTag.
	HmdVector2PropertyTag PropertyTypeTag = 24
	// HmdQuadPropertyTag is k_unHmdQuadPropertyTag.
	HmdQuadPropertyTag PropertyTypeTag = 25
	// HiddenAreaPropertyTag is k_unHiddenAreaPropertyTag.
	HiddenAreaPropertyTag PropertyTypeTag = 30
	// PathHandleInfoTag is k_unPathHandleInfoTag.
	PathHandleInfoTag PropertyTypeTag = 31
	// ActionPropertyTag is k_unActionPropertyTag.
	ActionPropertyTag PropertyTypeTag = 32
	// InputValuePropertyTag is k_unInputValuePropertyTag.
	InputValuePropertyTag PropertyTypeTag = 33
	// WildcardPropertyTag is k_unWildcardPropertyTag.
	WildcardPropertyTag PropertyTypeTag = 34
	// HapticVibrationPropertyTag is k_unHapticVibrationPropertyTag.
	HapticVibrationPropertyTag PropertyTypeTag = 35
	// SkeletonPropertyTag is k_unSkeletonPropertyTag.
	SkeletonPropertyTag PropertyTypeTag = 36
	// SpatialAnchorPosePropertyTag is k_unSpatialAnchorPosePropertyTag.
	SpatialAnchorPosePropertyTag PropertyTypeTag = 40
	// JsonPropertyTag is k_unJsonPropertyTag.
	JsonPropertyTag PropertyTypeTag = 41
	// ActiveActionSetPropertyTag is k_unActiveActionSetPropertyTag.
	ActiveActionSetPropertyTag PropertyTypeTag = 42
	// OpenVRInternalReservedStart is k_unOpenVRInternalReserved_Start.
	OpenVRInternalReservedStart PropertyTypeTag = 1000
	// OpenVRInternalReservedEnd is k_unOpenVRInternalReserved_End.
	OpenVRInternalReservedEnd PropertyTypeTag = 10000
	// MaxPropertyStringSize is k_unMaxPropertyStringSize.
	MaxPropertyStringSize = 32768
	// InvalidActionHandle is k_ulInvalidActionHandle.
	InvalidActionHandle VRActionHandle = 0
	// InvalidActionSetHandle is k_ulInvalidActionSetHandle.
	InvalidActionSetHandle VRActionSetHandle = 0
	// InvalidInputValueHandle is k_ulInvalidInputValueHandle.
	InvalidInputValueHandle VRInputValueHandle = 0
	// InvalidInputComponentHandle is k_ulInvalidInputComponentHandle.
	InvalidInputComponentHandle VRInputComponentHandle = 0
	// ControllerStateAxisCount is k_unControllerStateAxisCount.
	ControllerStateAxisCount = 5
	// OverlayHandleInvalid is k_ulOverlayHandleInvalid.
	OverlayHandleInvalid VROverlayHandle = 0
	// MaxDistortionFunctionParameters is k_unMaxDistortionFunctionParameters.
	MaxDistortionFunctionParameters = 8
	// ScreenshotHandleInvalid is k_unScreenshotHandleInvalid.
	ScreenshotHandleInvalid = 0
	// IVRSystemVersion is IVRSystem_Version.
	IVRSystemVersion = "IVRSystem_026"
	// IVRExtendedDisplayVersion is IVRExtendedDisplay_Version.
	IVRExtendedDisplayVersion = "IVRExtendedDisplay_001"
	// IVRTrackedCameraVersion is IVRTrackedCamera_Version.
	IVRTrackedCameraVersion = "IVRTrackedCamera_006"
	// MaxApplicationKeyLength is k_unMaxApplicationKeyLength.
	MaxApplicationKeyLength = 128
	// MimeTypeHomeApp is k_pch_MimeType_HomeApp.
	MimeTypeHomeApp = "vr/home"
	// MimeTypeGameTheater is k_pch_MimeType_GameTheater.
	MimeTypeGameTheater = "vr/game_theater"
	// IVRApplicationsVersion is IVRApplications_Version.
	IVRApplicationsVersion = "IVRApplications_008"
	// IVRChaperoneVersion is IVRChaperone_Version.
	IVRChaperoneVersion = "IVRChaperone_004"
	// IVRChaperoneSetupVersion is IVRChaperoneSetup_Version.
	IVRChaperoneSetupVersion = "IVRChaperoneSetup_006"
	// IVRCompositorVersion is IVRCompositor_Version.
	IVRCompositorVersion = "IVRCompositor_029"
	// VROverlayMaxKeyLength is k_unVROverlayMaxKeyLength.
	VROverlayMaxKeyLength = 128
	// VROverlayMaxNameLength is k_unVROverlayMaxNameLength.
	VROverlayMaxNameLength = 128
	// MaxOverlayCount is k_unMaxOverlayCount.
	MaxOverlayCount = 128
	// MaxOverlayIntersectionMaskPrimitivesCount is k_unMaxOverlayIntersectionMaskPrimitivesCount.
	MaxOverlayIntersectionMaskPrimitivesCount = 32
	// IVROverlayVersion is IVROverlay_Version.
	IVROverlayVersion = "IVROverlay_028"
	// IVROverlayViewVersion is IVROverlayView_Version.
	IVROverlayViewVersion = "IVROverlayView_003"
	// HeadsetViewMaxWidth is k_unHeadsetViewMaxWidth.
	HeadsetViewMaxWidth = 3840
	// HeadsetViewMaxHeight is k_unHeadsetViewMaxHeight.
	HeadsetViewMaxHeight = 2160
	// HeadsetViewOverlayKey is k_pchHeadsetViewOverlayKey.
	HeadsetViewOverlayKey = "system.HeadsetView"
	// IVRHeadsetViewVersion is IVRHeadsetView_Version.
	IVRHeadsetViewVersion = "IVRHeadsetView_001"
	// ControllerComponentGDC2015 is k_pch_Controller_Component_GDC2015.
	ControllerComponentGDC2015 = "gdc2015"
	// ControllerComponentBase is k_pch_Controller_Component_Base.
	ControllerComponentBase = "base"
	// ControllerComponentTip is k_pch_Controller_Component_Tip.
	ControllerComponentTip = "tip"
	// ControllerComponentOpenXRAim is k_pch_Controller_Component_OpenXR_Aim.
	ControllerComponentOpenXRAim = "openxr_aim"
	// ControllerComponentHandGrip is k_pch_Controller_Component_HandGrip.
	ControllerComponentHandGrip = "handgrip"
	// ControllerComponentOpenXRGrip is k_pch_Controller_Component_OpenXR_Grip.
	ControllerComponentOpenXRGrip = "openxr_grip"
	// ControllerComponentOpenXRHandModel is k_pch_Controller_Component_OpenXR_HandModel.
	ControllerComponentOpenXRHandModel = "openxr_handmodel"
	// ControllerComponentStatus is k_pch_Controller_Component_Status.
	ControllerComponentStatus = "status"
	// IVRRenderModelsVersion is IVRRenderModels_Version.
	IVRRenderModelsVersion = "IVRRenderModels_006"
	// NotificationTextMaxSize is k_unNotificationTextMaxSize.
	NotificationTextMaxSize = 256
	// IVRNotificationsVersion is IVRNotifications_Version.
	IVRNotificationsVersion = "IVRNotifications_002"
	// MaxSettingsKeyLength is k_unMaxSettingsKeyLength.
	MaxSettingsKeyLength = 128
	// IVRSettingsVersion is IVRSettings_Version.
	IVRSettingsVersion = "IVRSettings_003"
	// SteamVRSection is k_pch_SteamVR_Section.
	SteamVRSection = "steamvr"
	// SteamVRContrastFloat is k_pch_SteamVR_Contrast_Float.
	SteamVRContrastFloat = "contrast"
	// SteamVRRequireHmdString is k_pch_SteamVR_RequireHmd_String.
	SteamVRRequireHmdString = "requireHmd"
	// SteamVRForcedDriverKeyString is k_pch_SteamVR_ForcedDriverKey_String.
	SteamVRForcedDriverKeyString = "forcedDriver"
	// SteamVRForcedHmdKeyString is k_pch_SteamVR_ForcedHmdKey_String.
	SteamVRForcedHmdKeyString = "forcedHmd"
	// SteamVRDisplayDebugBool is k_pch_SteamVR_DisplayDebug_Bool.
	SteamVRDisplayDebugBool = "displayDebug"
	// SteamVRDebugProcessPipeString is k_pch_SteamVR_DebugProcessPipe_String.
	SteamVRDebugProcessPipeString = "debugProcessPipe"
	// SteamVRDisplayDebugXInt32 is k_pch_SteamVR_DisplayDebugX_Int32.
	SteamVRDisplayDebugXInt32 = "displayDebugX"
	// SteamVRDisplayDebugYInt32 is k_pch_SteamVR_DisplayDebugY_Int32.
	SteamVRDisplayDebugYInt32 = "displayDebugY"
	// SteamVRSendSystemButtonToAllAppsBool is k_pch_SteamVR_SendSystemButtonToAllApps_Bool.
	SteamVRSendSystemButtonToAllAppsBool = "sendSystemButtonToAllApps"
	// SteamVRLogLevelInt32 is k_pch_SteamVR_LogLevel_Int32.
	SteamVRLogLevelInt32 = "loglevel"
	// SteamVRIPDFloat is k_pch_SteamVR_IPD_Float.
	SteamVRIPDFloat = "ipd"
	// SteamVRBackgroundString is k_pch_SteamVR_Background_String.
	SteamVRBackgroundString = "background"
	// SteamVRBackgroundUseDomeProjectionBool is k_pch_SteamVR_BackgroundUseDomeProjection_Bool.
	SteamVRBackgroundUseDomeProjectionBool = "backgroundUseDomeProjection"
	// SteamVRBackgroundCameraHeightFloat is k_pch_SteamVR_BackgroundCameraHeight_Float.
	SteamVRBackgroundCameraHeightFloat = "backgroundCameraHeight"
	// SteamVRBackgroundDomeRadiusFloat is k_pch_SteamVR_BackgroundDomeRadius_Float.
	SteamVRBackgroundDomeRadiusFloat = "backgroundDomeRadius"
	// SteamVRGridColorString is k_pch_SteamVR_GridColor_String.
	SteamVRGridColorString = "gridColor"
	// SteamVRPlayAreaColorString is k_pch_SteamVR_PlayAreaColor_String.
	SteamVRPlayAreaColorString = "playAreaColor"
	// SteamVRTrackingLossColorString is k_pch_SteamVR_TrackingLossColor_String.
	SteamVRTrackingLossColorString = "trackingLossColor"
	// SteamVRStartColorString is k_pch_SteamVR_StartColor_String.
	SteamVRStartColorString = "startColor"
	// SteamVRShowStageBool is k_pch_SteamVR_ShowStage_Bool.
	SteamVRShowStageBool = "showStage"
	// SteamVRDrawTrackingReferencesBool is k_pch_SteamVR_DrawTrackingReferences_Bool.
	SteamVRDrawTrackingReferencesBool = "drawTrackingReferences"
	// SteamVRActivateMultipleDriversBool is k_pch_SteamVR_ActivateMultipleDrivers_Bool.
	SteamVRActivateMultipleDriversBool = "activateMultipleDrivers"
	// SteamVRUsingSpeakersBool is k_pch_SteamVR_UsingSpeakers_Bool.
	SteamVRUsingSpeakersBool = "usingSpeakers"
	// SteamVRSpeakersForwardYawOffsetDegreesFloat is k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float.
	SteamVRSpeakersForwardYawOffsetDegreesFloat = "speakersForwardYawOffsetDegrees"
	// SteamVRBaseStationPowerManagementInt32 is k_pch_SteamVR_BaseStationPowerManagement_Int32.
	SteamVRBaseStationPowerManagementInt32 = "basestationPowerManagement"
	// SteamVRShowBaseStationPowerManagementTipInt32 is k_pch_SteamVR_ShowBaseStationPowerManagementTip_Int32.
	SteamVRShowBaseStationPowerManagementTipInt32 = "ShowBaseStationPowerManagementTip"
	// SteamVRNeverKillProcessesBool is k_pch_SteamVR_NeverKillProcesses_Bool.
	SteamVRNeverKillProcessesBool = "neverKillProcesses"
	// SteamVRSupersampleScaleFloat is k_pch_SteamVR_SupersampleScale_Float.
	SteamVRSupersampleScaleFloat = "supersampleScale"
	// SteamVRMaxRecommendedResolutionInt32 is k_pch_SteamVR_MaxRecommendedResolution_Int32.
	SteamVRMaxRecommendedResolutionInt32 = "maxRecommendedResolution"
	// SteamVRMotionSmoothingBool is k_pch_SteamVR_MotionSmoothing_Bool.
	SteamVRMotionSmoothingBool = "motionSmoothing"
	// SteamVRMotionSmoothingOverrideInt32 is k_pch_SteamVR_MotionSmoothingOverride_Int32.
	SteamVRMotionSmoothingOverrideInt32 = "motionSmoothingOverride"
	// SteamVRFoveatedSharpeningBool is k_pch_SteamVR_FoveatedSharpening_Bool.
	SteamVRFoveatedSharpeningBool = "sharpening"
	// SteamVRFoveatedSharpeningOverrideInt32 is k_pch_SteamVR_FoveatedSharpeningOverride_Int32.
	SteamVRFoveatedSharpeningOverrideInt32 = "sharpeningOverride"
	// SteamVRFramesToThrottleInt32 is k_pch_SteamVR_FramesToThrottle_Int32.
	SteamVRFramesToThrottleInt32 = "framesToThrottle"
	// SteamVRAdditionalFramesToPredictInt32 is k_pch_SteamVR_AdditionalFramesToPredict_Int32.
	SteamVRAdditionalFramesToPredictInt32 = "additionalFramesToPredict"
	// SteamVRWorldScaleFloat is k_pch_SteamVR_WorldScale_Float.
	SteamVRWorldScaleFloat = "worldScale"
	// SteamVRFovScaleInt32 is k_pch_SteamVR_FovScale_Int32.
	SteamVRFovScaleInt32 = "fovScale"
	// SteamVRFovScaleInnerInt32 is k_pch_SteamVR_FovScaleInner_Int32.
	SteamVRFovScaleInnerInt32 = "fovScaleInner"
	// SteamVRFovScaleUpperInt32 is k_pch_SteamVR_FovScaleUpper_Int32.
	SteamVRFovScaleUpperInt32 = "fovScaleUpper"
	// SteamVRFovScaleLowerInt32 is k_pch_SteamVR_FovScaleLower_Int32.
	SteamVRFovScaleLowerInt32 = "fovScaleLower"
	// SteamVRFovScaleFormatInt32 is k_pch_SteamVR_FovScaleFormat_Int32.
	SteamVRFovScaleFormatInt32 = "fovScaleFormat"
	// SteamVRFovScaleLetterboxedBool is k_pch_SteamVR_FovScaleLetterboxed_Bool.
	SteamVRFovScaleLetterboxedBool = "fovScaleLetterboxed"
	// SteamVRDisableAsyncReprojectionBool is k_pch_SteamVR_DisableAsyncReprojection_Bool.
	SteamVRDisableAsyncReprojectionBool = "disableAsync"
	// SteamVRForceFadeOnBadTrackingBool is k_pch_SteamVR_ForceFadeOnBadTracking_Bool.
	SteamVRForceFadeOnBadTrackingBool = "forceFadeOnBadTracking"
	// SteamVRDefaultMirrorViewInt32 is k_pch_SteamVR_DefaultMirrorView_Int32.
	SteamVRDefaultMirrorViewInt32 = "mirrorView"
	// SteamVRShowLegacyMirrorViewBool is k_pch_SteamVR_ShowLegacyMirrorView_Bool.
	SteamVRShowLegacyMirrorViewBool = "showLegacyMirrorView"
	// SteamVRMirrorViewVisibilityBool is k_pch_SteamVR_MirrorViewVisibility_Bool.
	SteamVRMirrorViewVisibilityBool = "showMirrorView"
	// SteamVRMirrorViewDisplayModeInt32 is k_pch_SteamVR_MirrorViewDisplayMode_Int32.
	SteamVRMirrorViewDisplayModeInt32 = "mirrorViewDisplayMode"
	// SteamVRMirrorViewEyeInt32 is k_pch_SteamVR_MirrorViewEye_Int32.
	SteamVRMirrorViewEyeInt32 = "mirrorViewEye"
	// SteamVRMirrorViewGeometryString is k_pch_SteamVR_MirrorViewGeometry_String.
	SteamVRMirrorViewGeometryString = "mirrorViewGeometry"
	// SteamVRMirrorViewGeometryMaximizedString is k_pch_SteamVR_MirrorViewGeometryMaximized_String.
	SteamVRMirrorViewGeometryMaximizedString = "mirrorViewGeometryMaximized"
	// SteamVRPerfGraphVisibilityBool is k_pch_SteamVR_PerfGraphVisibility_Bool.
	SteamVRPerfGraphVisibilityBool = "showPerfGraph"
	// SteamVRStartMonitorFromAppLaunch is k_pch_SteamVR_StartMonitorFromAppLaunch.
	SteamVRStartMonitorFromAppLaunch = "startMonitorFromAppLaunch"
	// SteamVRStartCompositorFromAppLaunchBool is k_pch_SteamVR_StartCompositorFromAppLaunch_Bool.
	SteamVRStartCompositorFromAppLaunchBool = "startCompositorFromAppLaunch"
	// SteamVRStartDashboardFromAppLaunchBool is k_pch_SteamVR_StartDashboardFromAppLaunch_Bool.
	SteamVRStartDashboardFromAppLaunchBool = "startDashboardFromAppLaunch"
	// SteamVRStartOverlayAppsFromDashboardBool is k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool.
	SteamVRStartOverlayAppsFromDashboardBool = "startOverlayAppsFromDashboard"
	// SteamVREnableHomeApp is k_pch_SteamVR_EnableHomeApp.
	SteamVREnableHomeApp = "enableHomeApp"
	// SteamVRCycleBackgroundImageTimeSecInt32 is k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32.
	SteamVRCycleBackgroundImageTimeSecInt32 = "CycleBackgroundImageTimeSec"
	// SteamVRRetailDemoBool is k_pch_SteamVR_RetailDemo_Bool.
	SteamVRRetailDemoBool = "retailDemo"
	// SteamVRIpdOffsetFloat is k_pch_SteamVR_IpdOffset_Float.
	SteamVRIpdOffsetFloat = "ipdOffset"
	// SteamVRAllowSupersampleFilteringBool is k_pch_SteamVR_AllowSupersampleFiltering_Bool.
	SteamVRAllowSupersampleFilteringBool = "allowSupersampleFiltering"
	// SteamVRSupersampleManualOverrideBool is k_pch_SteamVR_SupersampleManualOverride_Bool.
	SteamVRSupersampleManualOverrideBool = "supersampleManualOverride"
	// SteamVREnableLinuxVulkanAsyncBool is k_pch_SteamVR_EnableLinuxVulkanAsync_Bool.
	SteamVREnableLinuxVulkanAsyncBool = "enableLinuxVulkanAsync"
	// SteamVRAllowDisplayLockedModeBool is k_pch_SteamVR_AllowDisplayLockedMode_Bool.
	SteamVRAllowDisplayLockedModeBool = "allowDisplayLockedMode"
	// SteamVRHaveStartedTutorialForNativeChaperoneDriverBool is k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bool.
	SteamVRHaveStartedTutorialForNativeChaperoneDriverBool = "haveStartedTutorialForNativeChaperoneDriver"
	// SteamVRDebugInputBinding is k_pch_SteamVR_DebugInputBinding.
	SteamVRDebugInputBinding = "debugInputBinding"
	// SteamVRDoNotFadeToGrid is k_pch_SteamVR_DoNotFadeToGrid.
	SteamVRDoNotFadeToGrid = "doNotFadeToGrid"
	// SteamVREnableSharedResourceJournaling is k_pch_SteamVR_EnableSharedResourceJournaling.
	SteamVREnableSharedResourceJournaling = "enableSharedResourceJournaling"
	// SteamVREnableSafeMode is k_pch_SteamVR_EnableSafeMode.
	SteamVREnableSafeMode = "enableSafeMode"
	// SteamVRPreferredRefreshRate is k_pch_SteamVR_PreferredRefreshRate.
	SteamVRPreferredRefreshRate = "preferredRefreshRate"
	// SteamVRLastVersionNotice is k_pch_SteamVR_LastVersionNotice.
	SteamVRLastVersionNotice = "lastVersionNotice"
	// SteamVRLastVersionNoticeDate is k_pch_SteamVR_LastVersionNoticeDate.
	SteamVRLastVersionNoticeDate = "lastVersionNoticeDate"
	// SteamVRHmdDisplayColorGainRFloat is k_pch_SteamVR_HmdDisplayColorGainR_Float.
	SteamVRHmdDisplayColorGainRFloat = "hmdDisplayColorGainR"
	// SteamVRHmdDisplayColorGainGFloat is k_pch_SteamVR_HmdDisplayColorGainG_Float.
	SteamVRHmdDisplayColorGainGFloat = "hmdDisplayColorGainG"
	// SteamVRHmdDisplayColorGainBFloat is k_pch_SteamVR_HmdDisplayColorGainB_Float.
	SteamVRHmdDisplayColorGainBFloat = "hmdDisplayColorGainB"
	// SteamVRCustomIconStyleString is k_pch_SteamVR_CustomIconStyle_String.
	SteamVRCustomIconStyleString = "customIconStyle"
	// SteamVRCustomOffIconStyleString is k_pch_SteamVR_CustomOffIconStyle_String.
	SteamVRCustomOffIconStyleString = "customOffIconStyle"
	// SteamVRCustomIconForceUpdateString is k_pch_SteamVR_CustomIconForceUpdate_String.
	SteamVRCustomIconForceUpdateString = "customIconForceUpdate"
	// SteamVRAllowGlobalActionSetPriority is k_pch_SteamVR_AllowGlobalActionSetPriority.
	SteamVRAllowGlobalActionSetPriority = "globalActionSetPriority"
	// SteamVROverlayRenderQuality is k_pch_SteamVR_OverlayRenderQuality.
	SteamVROverlayRenderQuality = "overlayRenderQuality_2"
	// SteamVRBlockOculusSDKOnOpenVRLaunchOptionBool is k_pch_SteamVR_BlockOculusSDKOnOpenVRLaunchOption_Bool.
	SteamVRBlockOculusSDKOnOpenVRLaunchOptionBool = "blockOculusSDKOnOpenVRLaunchOption"
	// SteamVRBlockOculusSDKOnAllLaunchesBool is k_pch_SteamVR_BlockOculusSDKOnAllLaunches_Bool.
	SteamVRBlockOculusSDKOnAllLaunchesBool = "blockOculusSDKOnAllLaunches"
	// SteamVRHDCPLegacyCompatibilityBool is k_pch_SteamVR_HDCPLegacyCompatibility_Bool.
	SteamVRHDCPLegacyCompatibilityBool = "hdcp14legacyCompatibility"
	// SteamVRDisplayPortTrainingModeInt is k_pch_SteamVR_DisplayPortTrainingMode_Int.
	SteamVRDisplayPortTrainingModeInt = "displayPortTrainingMode"
	// SteamVRUsePrismBool is k_pch_SteamVR_UsePrism_Bool.
	SteamVRUsePrismBool = "usePrism"
	// SteamVRAllowFallbackMirrorWindowLinuxBool is k_pch_SteamVR_AllowFallbackMirrorWindowLinux_Bool.
	SteamVRAllowFallbackMirrorWindowLinuxBool = "allowFallbackMirrorWindowLinux"
	// SteamVRDisableKeyboardPrivacyBool is k_pch_SteamVR_DisableKeyboardPrivacy_Bool.
	SteamVRDisableKeyboardPrivacyBool = "disableKeyboardPrivacy"
	// OpenXRSection is k_pch_OpenXR_Section.
	OpenXRSection = "openxr"
	// OpenXRMetaUnityPluginCompatibilityInt32 is k_pch_OpenXR_MetaUnityPluginCompatibility_Int32.
	OpenXRMetaUnityPluginCompatibilityInt32 = "metaUnityPluginCompatibility"
	// DirectModeSection is k_pch_DirectMode_Section.
	DirectModeSection = "direct_mode"
	// DirectModeEnableBool is k_pch_DirectMode_Enable_Bool.
	DirectModeEnableBool = "enable"
	// DirectModeCountInt32 is k_pch_DirectMode_Count_Int32.
	DirectModeCountInt32 = "count"
	// DirectModeEdidVidInt32 is k_pch_DirectMode_EdidVid_Int32.
	DirectModeEdidVidInt32 = "edidVid"
	// DirectModeEdidPidInt32 is k_pch_DirectMode_EdidPid_Int32.
	DirectModeEdidPidInt32 = "edidPid"
	// LighthouseSection is k_pch_Lighthouse_Section.
	LighthouseSection = "driver_lighthouse"
	// LighthouseDisableIMUBool is k_pch_Lighthouse_DisableIMU_Bool.
	LighthouseDisableIMUBool = "disableimu"
	// LighthouseDisableIMUExceptHMDBool is k_pch_Lighthouse_DisableIMUExceptHMD_Bool.
	LighthouseDisableIMUExceptHMDBool = "disableimuexcepthmd"
	// LighthouseUseDisambiguationString is k_pch_Lighthouse_UseDisambiguation_String.
	LighthouseUseDisambiguationString = "usedisambiguation"
	// LighthouseDisambiguationDebugInt32 is k_pch_Lighthouse_DisambiguationDebug_Int32.
	LighthouseDisambiguationDebugInt32 = "disambiguationdebug"
	// LighthousePrimaryBasestationInt32 is k_pch_Lighthouse_PrimaryBasestation_Int32.
	LighthousePrimaryBasestationInt32 = "primarybasestation"
	// LighthouseDBHistoryBool is k_pch_Lighthouse_DBHistory_Bool.
	LighthouseDBHistoryBool = "dbhistory"
	// LighthouseEnableBluetoothBool is k_pch_Lighthouse_EnableBluetooth_Bool.
	LighthouseEnableBluetoothBool = "enableBluetooth"
	// LighthousePowerManagedBaseStationsString is k_pch_Lighthouse_PowerManagedBaseStations_String.
	LighthousePowerManagedBaseStationsString = "PowerManagedBaseStations"
	// LighthousePowerManagedBaseStations2String is k_pch_Lighthouse_PowerManagedBaseStations2_String.
	LighthousePowerManagedBaseStations2String = "PowerManagedBaseStations2"
	// LighthouseInactivityTimeoutForBaseStationsInt32 is k_pch_Lighthouse_InactivityTimeoutForBaseStations_Int32.
	LighthouseInactivityTimeoutForBaseStationsInt32 = "InactivityTimeoutForBaseStations"
	// LighthouseEnableImuFallbackBool is k_pch_Lighthouse_EnableImuFallback_Bool.
	LighthouseEnableImuFallbackBool = "enableImuFallback"
	// NullSection is k_pch_Null_Section.
	NullSection = "driver_null"
	// NullSerialNumberString is k_pch_Null_SerialNumber_String.
	NullSerialNumberString = "serialNumber"
	// NullModelNumberString is k_pch_Null_ModelNumber_String.
	NullModelNumberString = "modelNumber"
	// NullWindowXInt32 is k_pch_Null_WindowX_Int32.
	NullWindowXInt32 = "windowX"
	// NullWindowYInt32 is k_pch_Null_WindowY_Int32.
	NullWindowYInt32 = "windowY"
	// NullWindowWidthInt32 is k_pch_Null_WindowWidth_Int32.
	NullWindowWidthInt32 = "windowWidth"
	// NullWindowHeightInt32 is k_pch_Null_WindowHeight_Int32.
	NullWindowHeightInt32 = "windowHeight"
	// NullRenderWidthInt32 is k_pch_Null_RenderWidth_Int32.
	NullRenderWidthInt32 = "renderWidth"
	// NullRenderHeightInt32 is k_pch_Null_RenderHeight_Int32.
	NullRenderHeightInt32 = "renderHeight"
	// NullSecondsFromVsyncToPhotonsFloat is k_pch_Null_SecondsFromVsyncToPhotons_Float.
	NullSecondsFromVsyncToPhotonsFloat = "secondsFromVsyncToPhotons"
	// NullDisplayFrequencyFloat is k_pch_Null_DisplayFrequency_Float.
	NullDisplayFrequencyFloat = "displayFrequency"
	// WindowsMRSection is k_pch_WindowsMR_Section.
	WindowsMRSection = "driver_holographic"
	// UserInterfaceSection is k_pch_UserInterface_Section.
	UserInterfaceSection = "userinterface"
	// UserInterfaceStatusAlwaysOnTopBool is k_pch_UserInterface_StatusAlwaysOnTop_Bool.
	UserInterfaceStatusAlwaysOnTopBool = "StatusAlwaysOnTop"
	// UserInterfaceMinimizeToTrayBool is k_pch_UserInterface_MinimizeToTray_Bool.
	UserInterfaceMinimizeToTrayBool = "MinimizeToTray"
	// UserInterfaceHidePopupsWhenStatusMinimizedBool is k_pch_UserInterface_HidePopupsWhenStatusMinimized_Bool.
	UserInterfaceHidePopupsWhenStatusMinimizedBool = "HidePopupsWhenStatusMinimized"
	// UserInterfaceScreenshotsBool is k_pch_UserInterface_Screenshots_Bool.
	UserInterfaceScreenshotsBool = "screenshots"
	// UserInterfaceScreenshotTypeInt is k_pch_UserInterface_ScreenshotType_Int.
	UserInterfaceScreenshotTypeInt = "screenshotType"
	// UserInterfaceCheckStatusIntervalInt is k_pch_UserInterface_CheckStatusInterval_Int.
	UserInterfaceCheckStatusIntervalInt = "vrmStatusCheckInterval"
	// UserInterfaceCheckForSteamBool is k_pch_UserInterface_CheckForSteam_Bool.
	UserInterfaceCheckForSteamBool = "vrmCheckForSteam"
	// NotificationsSection is k_pch_Notifications_Section.
	NotificationsSection = "notifications"
	// NotificationsDoNotDisturbBool is k_pch_Notifications_DoNotDisturb_Bool.
	NotificationsDoNotDisturbBool = "DoNotDisturb"
	// KeyboardSection is k_pch_Keyboard_Section.
	KeyboardSection = "keyboard"
	// KeyboardTutorialCompletions is k_pch_Keyboard_TutorialCompletions.
	KeyboardTutorialCompletions = "TutorialCompletions"
	// KeyboardScaleX is k_pch_Keyboard_ScaleX.
	KeyboardScaleX = "ScaleX"
	// KeyboardScaleY is k_pch_Keyboard_ScaleY.
	KeyboardScaleY = "ScaleY"
	// KeyboardOffsetLeftX is k_pch_Keyboard_OffsetLeftX.
	KeyboardOffsetLeftX = "OffsetLeftX"
	// KeyboardOffsetRightX is k_pch_Keyboard_OffsetRightX.
	KeyboardOffsetRightX = "OffsetRightX"
	// KeyboardOffsetY is k_pch_Keyboard_OffsetY.
	KeyboardOffsetY = "OffsetY"
	// KeyboardSmoothing is k_pch_Keyboard_Smoothing.
	KeyboardSmoothing = "Smoothing"
	// PerfSection is k_pch_Perf_Section.
	PerfSection = "perfcheck"
	// PerfPerfGraphInHMDBool is k_pch_Perf_PerfGraphInHMD_Bool.
	PerfPerfGraphInHMDBool = "perfGraphInHMD"
	// PerfAllowTimingStoreBool is k_pch_Perf_AllowTimingStore_Bool.
	PerfAllowTimingStoreBool = "allowTimingStore"
	// PerfSaveTimingsOnExitBool is k_pch_Perf_SaveTimingsOnExit_Bool.
	PerfSaveTimingsOnExitBool = "saveTimingsOnExit"
	// PerfTestDataFloat is k_pch_Perf_TestData_Float.
	PerfTestDataFloat = "perfTestData"
	// PerfGPUProfilingBool is k_pch_Perf_GPUProfiling_Bool.
	PerfGPUProfilingBool = "GPUProfiling"
	// PerfGpuBusMonitoringBool is k_pch_Perf_GpuBusMonitoring_Bool.
	PerfGpuBusMonitoringBool = "gpuBusMonitoring"
	// CollisionBoundsSection is k_pch_CollisionBounds_Section.
	CollisionBoundsSection = "collisionBounds"
	// CollisionBoundsStyleInt32 is k_pch_CollisionBounds_Style_Int32.
	CollisionBoundsStyleInt32 = "CollisionBoundsStyle"
	// CollisionBoundsGroundPerimeterOnBool is k_pch_CollisionBounds_GroundPerimeterOn_Bool.
	CollisionBoundsGroundPerimeterOnBool = "CollisionBoundsGroundPerimeterOn"
	// CollisionBoundsCenterMarkerOnBool is k_pch_CollisionBounds_CenterMarkerOn_Bool.
	CollisionBoundsCenterMarkerOnBool = "CollisionBoundsCenterMarkerOn"
	// CollisionBoundsPlaySpaceOnBool is k_pch_CollisionBounds_PlaySpaceOn_Bool.
	CollisionBoundsPlaySpaceOnBool = "CollisionBoundsPlaySpaceOn"
	// CollisionBoundsFadeDistanceFloat is k_pch_CollisionBounds_FadeDistance_Float.
	CollisionBoundsFadeDistanceFloat = "CollisionBoundsFadeDistance"
	// CollisionBoundsWallHeightFloat is k_pch_CollisionBounds_WallHeight_Float.
	CollisionBoundsWallHeightFloat = "CollisionBoundsWallHeight"
	// CollisionBoundsColorGammaRInt32 is k_pch_CollisionBounds_ColorGammaR_Int32.
	CollisionBoundsColorGammaRInt32 = "CollisionBoundsColorGammaR"
	// CollisionBoundsColorGammaGInt32 is k_pch_CollisionBounds_ColorGammaG_Int32.
	CollisionBoundsColorGammaGInt32 = "CollisionBoundsColorGammaG"
	// CollisionBoundsColorGammaBInt32 is k_pch_CollisionBounds_ColorGammaB_Int32.
	CollisionBoundsColorGammaBInt32 = "CollisionBoundsColorGammaB"
	// CollisionBoundsColorGammaAInt32 is k_pch_CollisionBounds_ColorGammaA_Int32.
	CollisionBoundsColorGammaAInt32 = "CollisionBoundsColorGammaA"
	// CollisionBoundsEnableDriverImport is k_pch_CollisionBounds_EnableDriverImport.
	CollisionBoundsEnableDriverImport = "enableDriverBoundsImport"
	// CameraSection is k_pch_Camera_Section.
	CameraSection = "camera"
	// CameraEnableCameraBool is k_pch_Camera_EnableCamera_Bool.
	CameraEnableCameraBool = "enableCamera"
	// CameraShowOnControllerBool is k_pch_Camera_ShowOnController_Bool.
	CameraShowOnControllerBool = "showOnController"
	// CameraEnableCameraForCollisionBoundsBool is k_pch_Camera_EnableCameraForCollisionBounds_Bool.
	CameraEnableCameraForCollisionBoundsBool = "enableCameraForCollisionBounds"
	// CameraRoomViewInt32 is k_pch_Camera_RoomView_Int32.
	CameraRoomViewInt32 = "roomView"
	// CameraBoundsColorGammaRInt32 is k_pch_Camera_BoundsColorGammaR_Int32.
	CameraBoundsColorGammaRInt32 = "cameraBoundsColorGammaR"
	// CameraBoundsColorGammaGInt32 is k_pch_Camera_BoundsColorGammaG_Int32.
	CameraBoundsColorGammaGInt32 = "cameraBoundsColorGammaG"
	// CameraBoundsColorGammaBInt32 is k_pch_Camera_BoundsColorGammaB_Int32.
	CameraBoundsColorGammaBInt32 = "cameraBoundsColorGammaB"
	// CameraBoundsColorGammaAInt32 is k_pch_Camera_BoundsColorGammaA_Int32.
	CameraBoundsColorGammaAInt32 = "cameraBoundsColorGammaA"
	// CameraBoundsStrengthInt32 is k_pch_Camera_BoundsStrength_Int32.
	CameraBoundsStrengthInt32 = "cameraBoundsStrength"
	// CameraRoomViewStyleInt32 is k_pch_Camera_RoomViewStyle_Int32.
	CameraRoomViewStyleInt32 = "roomViewStyle"
	// AudioSection is k_pch_audio_Section.
	AudioSection = "audio"
	// AudioSetOsDefaultPlaybackDeviceBool is k_pch_audio_SetOsDefaultPlaybackDevice_Bool.
	AudioSetOsDefaultPlaybackDeviceBool = "setOsDefaultPlaybackDevice"
	// AudioEnablePlaybackDeviceOverrideBool is k_pch_audio_EnablePlaybackDeviceOverride_Bool.
	AudioEnablePlaybackDeviceOverrideBool = "enablePlaybackDeviceOverride"
	// AudioPlaybackDeviceOverrideString is k_pch_audio_PlaybackDeviceOverride_String.
	AudioPlaybackDeviceOverrideString = "playbackDeviceOverride"
	// AudioPlaybackDeviceOverrideNameString is k_pch_audio_PlaybackDeviceOverrideName_String.
	AudioPlaybackDeviceOverrideNameString = "playbackDeviceOverrideName"
	// AudioSetOsDefaultRecordingDeviceBool is k_pch_audio_SetOsDefaultRecordingDevice_Bool.
	AudioSetOsDefaultRecordingDeviceBool = "setOsDefaultRecordingDevice"
	// AudioEnableRecordingDeviceOverrideBool is k_pch_audio_EnableRecordingDeviceOverride_Bool.
	AudioEnableRecordingDeviceOverrideBool = "enableRecordingDeviceOverride"
	// AudioRecordingDeviceOverrideString is k_pch_audio_RecordingDeviceOverride_String.
	AudioRecordingDeviceOverrideString = "recordingDeviceOverride"
	// AudioRecordingDeviceOverrideNameString is k_pch_audio_RecordingDeviceOverrideName_String.
	AudioRecordingDeviceOverrideNameString = "recordingDeviceOverrideName"
	// AudioEnablePlaybackMirrorBool is k_pch_audio_EnablePlaybackMirror_Bool.
	AudioEnablePlaybackMirrorBool = "enablePlaybackMirror"
	// AudioPlaybackMirrorDeviceString is k_pch_audio_PlaybackMirrorDevice_String.
	AudioPlaybackMirrorDeviceString = "playbackMirrorDevice"
	// AudioPlaybackMirrorDeviceNameString is k_pch_audio_PlaybackMirrorDeviceName_String.
	AudioPlaybackMirrorDeviceNameString = "playbackMirrorDeviceName"
	// AudioOldPlaybackMirrorDeviceString is k_pch_audio_OldPlaybackMirrorDevice_String.
	AudioOldPlaybackMirrorDeviceString = "onPlaybackMirrorDevice"
	// AudioActiveMirrorDeviceString is k_pch_audio_ActiveMirrorDevice_String.
	AudioActiveMirrorDeviceString = "activePlaybackMirrorDevice"
	// AudioEnablePlaybackMirrorIndependentVolumeBool is k_pch_audio_EnablePlaybackMirrorIndependentVolume_Bool.
	AudioEnablePlaybackMirrorIndependentVolumeBool = "enablePlaybackMirrorIndependentVolume"
	// AudioLastHmdPlaybackDeviceIdString is k_pch_audio_LastHmdPlaybackDeviceId_String.
	AudioLastHmdPlaybackDeviceIdString = "lastHmdPlaybackDeviceId"
	// AudioVIVEHDMIGain is k_pch_audio_VIVEHDMIGain.
	AudioVIVEHDMIGain = "viveHDMIGain"
	// AudioDualSpeakerAndJackOutputBool is k_pch_audio_DualSpeakerAndJackOutput_Bool.
	AudioDualSpeakerAndJackOutputBool = "dualSpeakerAndJackOutput"
	// AudioMuteMicMonitorBool is k_pch_audio_MuteMicMonitor_Bool.
	AudioMuteMicMonitorBool = "muteMicMonitor"
	// PowerSection is k_pch_Power_Section.
	PowerSection = "power"
	// PowerPowerOffOnExitBool is k_pch_Power_PowerOffOnExit_Bool.
	PowerPowerOffOnExitBool = "powerOffOnExit"
	// PowerTurnOffScreensTimeoutFloat is k_pch_Power_TurnOffScreensTimeout_Float.
	PowerTurnOffScreensTimeoutFloat = "turnOffScreensTimeout"
	// PowerTurnOffControllersTimeoutFloat is k_pch_Power_TurnOffControllersTimeout_Float.
	PowerTurnOffControllersTimeoutFloat = "turnOffControllersTimeout"
	// PowerReturnToWatchdogTimeoutFloat is k_pch_Power_ReturnToWatchdogTimeout_Float.
	PowerReturnToWatchdogTimeoutFloat = "returnToWatchdogTimeout"
	// PowerAutoLaunchSteamVROnButtonPress is k_pch_Power_AutoLaunchSteamVROnButtonPress.
	PowerAutoLaunchSteamVROnButtonPress = "autoLaunchSteamVROnButtonPress"
	// PowerPauseCompositorOnStandbyBool is k_pch_Power_PauseCompositorOnStandby_Bool.
	PowerPauseCompositorOnStandbyBool = "pauseCompositorOnStandby"
	// PowerOverrideWindowsPowerSchemeBool is k_pch_Power_OverrideWindowsPowerScheme_Bool.
	PowerOverrideWindowsPowerSchemeBool = "overrideWindowsPowerScheme"
	// DashboardSection is k_pch_Dashboard_Section.
	DashboardSection = "dashboard"
	// DashboardEnableDashboardBool is k_pch_Dashboard_EnableDashboard_Bool.
	DashboardEnableDashboardBool = "enableDashboard"
	// DashboardArcadeModeBool is k_pch_Dashboard_ArcadeMode_Bool.
	DashboardArcadeModeBool = "arcadeMode"
	// DashboardPosition is k_pch_Dashboard_Position.
	DashboardPosition = "position"
	// DashboardDashboardScale is k_pch_Dashboard_DashboardScale.
	DashboardDashboardScale = "dashboardScale"
	// DashboardUseStandaloneSystemLayer is k_pch_Dashboard_UseStandaloneSystemLayer.
	DashboardUseStandaloneSystemLayer = "standaloneSystemLayer"
	// DashboardAllowSteamOverlaysBool is k_pch_Dashboard_AllowSteamOverlays_Bool.
	DashboardAllowSteamOverlaysBool = "allowSteamOverlays"
	// DashboardAllowVRGamepadUIBool is k_pch_Dashboard_AllowVRGamepadUI_Bool.
	DashboardAllowVRGamepadUIBool = "allowVRGamepadUI"
	// DashboardSteamMatchesHMDFramerate is k_pch_Dashboard_SteamMatchesHMDFramerate.
	DashboardSteamMatchesHMDFramerate = "steamMatchesHMDFramerate"
	// DashboardGrabHandleAcceleration is k_pch_Dashboard_GrabHandleAcceleration.
	DashboardGrabHandleAcceleration = "grabHandleAcceleration"
	// DashboardOverlayBacksideColorString is k_pch_Dashboard_OverlayBacksideColor_String.
	DashboardOverlayBacksideColorString = "overlayBacksideColor"
	// ModelskinSection is k_pch_modelskin_Section.
	ModelskinSection = "modelskins"
	// DriverEnableBool is k_pch_Driver_Enable_Bool.
	DriverEnableBool = "enable"
	// DriverBlockedBySafemodeBool is k_pch_Driver_BlockedBySafemode_Bool.
	DriverBlockedBySafemodeBool = "blocked_by_safe_mode"
	// DriverLoadPriorityInt32 is k_pch_Driver_LoadPriority_Int32.
	DriverLoadPriorityInt32 = "loadPriority"
	// DriverHmdAllowsClientToControlTextureIndexBool is k_pch_Driver_Hmd_AllowsClientToControlTextureIndex_Bool.
	DriverHmdAllowsClientToControlTextureIndexBool = "hmdAllowsClientToControlTextureIndex"
	// DriverForceSystemLayerUseAppPosesBool is k_pch_Driver_ForceSystemLayerUseAppPoses_Bool.
	DriverForceSystemLayerUseAppPosesBool = "forceSystemLayerUseAppPoses"
	// WebInterfaceSection is k_pch_WebInterface_Section.
	WebInterfaceSection = "WebInterface"
	// VRWebHelperSection is k_pch_VRWebHelper_Section.
	VRWebHelperSection = "VRWebHelper"
	// VRWebHelperDebuggerEnabledBool is k_pch_VRWebHelper_DebuggerEnabled_Bool.
	VRWebHelperDebuggerEnabledBool = "DebuggerEnabled"
	// VRWebHelperDebuggerPortInt32 is k_pch_VRWebHelper_DebuggerPort_Int32.
	VRWebHelperDebuggerPortInt32 = "DebuggerPort"
	// TrackingOverrideSection is k_pch_TrackingOverride_Section.
	TrackingOverrideSection = "TrackingOverrides"
	// AppBindingAutosaveURLSuffixString is k_pch_App_BindingAutosaveURLSuffix_String.
	AppBindingAutosaveURLSuffixString = "AutosaveURL"
	// AppBindingLegacyAPISuffixString is k_pch_App_BindingLegacyAPISuffix_String.
	AppBindingLegacyAPISuffixString = "_legacy"
	// AppBindingSteamVRInputAPISuffixString is k_pch_App_BindingSteamVRInputAPISuffix_String.
	AppBindingSteamVRInputAPISuffixString = "_steamvrinput"
	// AppBindingOpenXRAPISuffixString is k_pch_App_BindingOpenXRAPISuffix_String.
	AppBindingOpenXRAPISuffixString = "_openxr"
	// AppBindingCurrentURLSuffixString is k_pch_App_BindingCurrentURLSuffix_String.
	AppBindingCurrentURLSuffixString = "CurrentURL"
	// AppBindingPreviousURLSuffixString is k_pch_App_BindingPreviousURLSuffix_String.
	AppBindingPreviousURLSuffixString = "PreviousURL"
	// AppNeedToUpdateAutosaveSuffixBool is k_pch_App_NeedToUpdateAutosaveSuffix_Bool.
	AppNeedToUpdateAutosaveSuffixBool = "NeedToUpdateAutosave"
	// AppDominantHandInt32 is k_pch_App_DominantHand_Int32.
	AppDominantHandInt32 = "DominantHand"
	// AppBlockOculusSDKBool is k_pch_App_BlockOculusSDK_Bool.
	AppBlockOculusSDKBool = "blockOculusSDK"
	// TrackersSection is k_pch_Trackers_Section.
	TrackersSection = "trackers"
	// DesktopUISection is k_pch_DesktopUI_Section.
	DesktopUISection = "DesktopUI"
	// LastKnownSection is k_pch_LastKnown_Section.
	LastKnownSection = "LastKnown"
	// LastKnownHMDManufacturerString is k_pch_LastKnown_HMDManufacturer_String.
	LastKnownHMDManufacturerString = "HMDManufacturer"
	// LastKnownHMDModelString is k_pch_LastKnown_HMDModel_String.
	LastKnownHMDModelString = "HMDModel"
	// LastKnownActualHMDDriverString is k_pch_LastKnown_ActualHMDDriver_String.
	LastKnownActualHMDDriverString = "ActualHMDDriver"
	// LastKnownHMDSerialNumberString is k_pch_LastKnown_HMDSerialNumber_String.
	LastKnownHMDSerialNumberString = "HMDSerialNumber"
	// LastKnownHMDRemoteClientIDString is k_pch_LastKnown_HMDRemoteClientID_String.
	LastKnownHMDRemoteClientIDString = "RemoteClientID"
	// DismissedWarningsSection is k_pch_DismissedWarnings_Section.
	DismissedWarningsSection = "DismissedWarnings"
	// InputSection is k_pch_Input_Section.
	InputSection = "input"
	// InputLeftThumbstickRotationFloat is k_pch_Input_LeftThumbstickRotation_Float.
	InputLeftThumbstickRotationFloat = "leftThumbstickRotation"
	// InputRightThumbstickRotationFloat is k_pch_Input_RightThumbstickRotation_Float.
	InputRightThumbstickRotationFloat = "rightThumbstickRotation"
	// InputThumbstickDeadzoneFloat is k_pch_Input_ThumbstickDeadzone_Float.
	InputThumbstickDeadzoneFloat = "thumbstickDeadzone"
	// GpuSpeedSection is k_pch_GpuSpeed_Section.
	GpuSpeedSection = "GpuSpeed"
	// XRRenderModelCacheSection is k_pch_XRRenderModelCache_Section.
	XRRenderModelCacheSection = "XRRenderModelUuidCache"
	// IVRScreenshotsVersion is IVRScreenshots_Version.
	IVRScreenshotsVersion = "IVRScreenshots_001"
	// IVRResourcesVersion is IVRResources_Version.
	IVRResourcesVersion = "IVRResources_001"
	// IVRDriverManagerVersion is IVRDriverManager_Version.
	IVRDriverManagerVersion = "IVRDriverManager_001"
	// MaxActionNameLength is k_unMaxActionNameLength.
	MaxActionNameLength = 64
	// MaxActionSetNameLength is k_unMaxActionSetNameLength.
	MaxActionSetNameLength = 64
	// MaxActionOriginCount is k_unMaxActionOriginCount.
	MaxActionOriginCount = 16
	// MaxBoneNameLength is k_unMaxBoneNameLength.
	MaxBoneNameLength = 32
	// ActionSetOverlayGlobalPriorityMin is k_nActionSetOverlayGlobalPriorityMin.
	ActionSetOverlayGlobalPriorityMin = 16777216
	// ActionSetOverlayGlobalPriorityMax is k_nActionSetOverlayGlobalPriorityMax.
	ActionSetOverlayGlobalPriorityMax = 33554431
	// ActionSetPriorityReservedMin is k_nActionSetPriorityReservedMin.
	ActionSetPriorityReservedMin = 33554432
	// IVRInputVersion is IVRInput_Version.
	IVRInputVersion = "IVRInput_011"
	// InvalidIOBufferHandle is k_ulInvalidIOBufferHandle.
	InvalidIOBufferHandle = 0
	// IVRIOBufferVersion is IVRIOBuffer_Version.
	IVRIOBufferVersion = "IVRIOBuffer_002"
	// InvalidSpatialAnchorHandle is k_ulInvalidSpatialAnchorHandle.
	InvalidSpatialAnchorHandle SpatialAnchorHandle = 0
	// IVRSpatialAnchorsVersion is IVRSpatialAnchors_Version.
	IVRSpatialAnchorsVersion = "IVRSpatialAnchors_001"
	// IVRDebugVersion is IVRDebug_Version.
	IVRDebugVersion = "IVRDebug_001"
	// IVRIPCResourceManagerClientVersion is IVRIPCResourceManagerClient_Version.
	IVRIPCResourceManagerClientVersion = "IVRIPCResourceManagerClient_003"
	// SteamVRVersionMajor is k_nSteamVRVersionMajor.
	SteamVRVersionMajor = 2
	// SteamVRVersionMinor is k_nSteamVRVersionMinor.
	SteamVRVersionMinor = 15
	// SteamVRVersionBuild is k_nSteamVRVersionBuild.
	SteamVRVersionBuild = 6
	// DisplayRedirectContainer is k_ulDisplayRedirectContainer.
	DisplayRedirectContainer PropertyContainerHandle = 25769803779
	// IVRPropertiesVersion is IVRProperties_Version.
	IVRPropertiesVersion = "IVRProperties_001"
	// PathUserHandRight is k_pchPathUserHandRight.
	PathUserHandRight = "/user/hand/right"
	// PathUserHandLeft is k_pchPathUserHandLeft.
	PathUserHandLeft = "/user/hand/left"
	// PathUserHandPrimary is k_pchPathUserHandPrimary.
	PathUserHandPrimary = "/user/hand/primary"
	// PathUserHandSecondary is k_pchPathUserHandSecondary.
	PathUserHandSecondary = "/user/hand/secondary"
	// PathUserHead is k_pchPathUserHead.
	PathUserHead = "/user/head"
	// PathUserGamepad is k_pchPathUserGamepad.
	PathUserGamepad = "/user/gamepad"
	// PathUserTreadmill is k_pchPathUserTreadmill.
	PathUserTreadmill = "/user/treadmill"
	// PathUserStylus is k_pchPathUserStylus.
	PathUserStylus = "/user/stylus"
	// PathDevices is k_pchPathDevices.
	PathDevices = "/devices"
	// PathDevicePath is k_pchPathDevicePath.
	PathDevicePath = "/device_path"
	// PathBestAliasPath is k_pchPathBestAliasPath.
	PathBestAliasPath = "/best_alias_path"
	// PathBoundTrackerAliasPath is k_pchPathBoundTrackerAliasPath.
	PathBoundTrackerAliasPath = "/bound_tracker_path"
	// PathBoundTrackerRole is k_pchPathBoundTrackerRole.
	PathBoundTrackerRole = "/bound_tracker_role"
	// PathPoseRaw is k_pchPathPoseRaw.
	PathPoseRaw = "/pose/raw"
	// PathPoseTip is k_pchPathPoseTip.
	PathPoseTip = "/pose/tip"
	// PathPoseGrip is k_pchPathPoseGrip.
	PathPoseGrip = "/pose/grip"
	// PathSystemButtonClick is k_pchPathSystemButtonClick.
	PathSystemButtonClick = "/input/system/click"
	// PathProximity is k_pchPathProximity.
	PathProximity = "/proximity"
	// PathControllerTypePrefix is k_pchPathControllerTypePrefix.
	PathControllerTypePrefix = "/controller_type/"
	// PathInputProfileSuffix is k_pchPathInputProfileSuffix.
	PathInputProfileSuffix = "/input_profile"
	// PathBindingNameSuffix is k_pchPathBindingNameSuffix.
	PathBindingNameSuffix = "/binding_name"
	// PathBindingUrlSuffix is k_pchPathBindingUrlSuffix.
	PathBindingUrlSuffix = "/binding_url"
	// PathBindingErrorSuffix is k_pchPathBindingErrorSuffix.
	PathBindingErrorSuffix = "/binding_error"
	// PathActiveActionSets is k_pchPathActiveActionSets.
	PathActiveActionSets = "/active_action_sets"
	// PathComponentUpdates is k_pchPathComponentUpdates.
	PathComponentUpdates = "/total_component_updates"
	// PathUserFootLeft is k_pchPathUserFootLeft.
	PathUserFootLeft = "/user/foot/left"
	// PathUserFootRight is k_pchPathUserFootRight.
	PathUserFootRight = "/user/foot/right"
	// PathUserShoulderLeft is k_pchPathUserShoulderLeft.
	PathUserShoulderLeft = "/user/shoulder/left"
	// PathUserShoulderRight is k_pchPathUserShoulderRight.
	PathUserShoulderRight = "/user/shoulder/right"
	// PathUserElbowLeft is k_pchPathUserElbowLeft.
	PathUserElbowLeft = "/user/elbow/left"
	// PathUserElbowRight is k_pchPathUserElbowRight.
	PathUserElbowRight = "/user/elbow/right"
	// PathUserKneeLeft is k_pchPathUserKneeLeft.
	PathUserKneeLeft = "/user/knee/left"
	// PathUserKneeRight is k_pchPathUserKneeRight.
	PathUserKneeRight = "/user/knee/right"
	// PathUserWristLeft is k_pchPathUserWristLeft.
	PathUserWristLeft = "/user/wrist/left"
	// PathUserWristRight is k_pchPathUserWristRight.
	PathUserWristRight = "/user/wrist/right"
	// PathUserAnkleLeft is k_pchPathUserAnkleLeft.
	PathUserAnkleLeft = "/user/ankle/left"
	// PathUserAnkleRight is k_pchPathUserAnkleRight.
	PathUserAnkleRight = "/user/ankle/right"
	// PathUserWaist is k_pchPathUserWaist.
	PathUserWaist = "/user/waist"
	// PathUserChest is k_pchPathUserChest.
	PathUserChest = "/user/chest"
	// PathUserCamera is k_pchPathUserCamera.
	PathUserCamera = "/user/camera"
	// PathUserKeyboard is k_pchPathUserKeyboard.
	PathUserKeyboard = "/user/keyboard"
	// PathClientAppKey is k_pchPathClientAppKey.
	PathClientAppKey = "/client_info/app_key"
	// InvalidPathHandle is k_ulInvalidPathHandle.
	InvalidPathHandle PathHandle = 0
	// IVRPathsVersion is IVRPaths_Version.
	IVRPathsVersion = "IVRPaths_002"
	// IVRBlockQueueVersion is IVRBlockQueue_Version.
	IVRBlockQueueVersion = "IVRBlockQueue_005"
)
View Source
const CompositorFrameTimingSize uint32 = 188

CompositorFrameTimingSize is sizeof( Compositor_FrameTiming ) as seen by the runtime. Store it in CompositorFrameTiming.Size before calling IVRCompositor.GetFrameTiming or GetFrameTimings.

On Linux the struct is compiled with #pragma pack(4): the member offsets are the same as in the Go struct, but it has no tail padding (188 instead of 192 bytes).

View Source
const EnvLibraryPath = "OPENVR_API_PATH"

EnvLibraryPath is the environment variable that may hold the path of the OpenVR API library.

Variables

This section is empty.

Functions

func BytePtrFromString

func BytePtrFromString(s string) *byte

BytePtrFromString returns a pointer to a NUL terminated copy of s, for use with struct fields and parameters of C type "char *". The memory is owned by Go: keep the pointer reachable for as long as the runtime uses it.

func CharsToString

func CharsToString(b []byte) string

CharsToString converts a fixed size "char [N]" struct member to a string.

func FnTable

func FnTable(version string) (unsafe.Pointer, error)

FnTable returns the C function table of the interface with the given version string (e.g. IVROverlayVersion). Most programs use the typed accessors such as VRSystem instead.

func Init

func Init(appType EVRApplicationType) error

Init connects to the VR runtime as the given kind of application. It is the equivalent of vr::VR_Init. Call Shutdown when done.

func InitWithStartupInfo

func InitWithStartupInfo(appType EVRApplicationType, startupInfo string) error

InitWithStartupInfo is like Init but also passes a startup info string (a JSON document, see vr::VR_Init) to the runtime.

func IsHmdPresent

func IsHmdPresent() bool

IsHmdPresent reports whether an HMD appears to be attached. It is a quick check that works without calling Init. It returns false if the native library cannot be loaded.

func IsInterfaceVersionValid

func IsInterfaceVersionValid(version string) bool

IsInterfaceVersionValid reports whether the runtime supports the given interface version, e.g. IVRSystemVersion.

func IsRuntimeInstalled

func IsRuntimeInstalled() bool

IsRuntimeInstalled reports whether the OpenVR runtime (SteamVR) is installed. It works without calling Init.

func LibraryPath

func LibraryPath() (string, error)

LibraryPath loads the native library if necessary and reports the path it was loaded from.

func Load

func Load() error

Load loads the native library. It is called implicitly by every other function, so calling it is only needed to detect a missing library early.

func RuntimePath

func RuntimePath() (string, error)

RuntimePath returns the installation directory of the OpenVR runtime.

func SetLibraryPath

func SetLibraryPath(path string) error

SetLibraryPath sets the path of openvr_api.dll / libopenvr_api.so. It must be called before any other function of this package; once the library has been loaded it returns an error.

func Shutdown

func Shutdown()

Shutdown disconnects from the VR runtime. All interface objects obtained before become invalid. It does nothing if the native library has not been loaded.

Types

type AppOverrideKeys

type AppOverrideKeys struct {
	Key   *byte // const char * pchKey
	Value *byte // const char * pchValue
}

AppOverrideKeys is the AppOverrideKeys_t struct.

type BoneIndex

type BoneIndex int32

BoneIndex is the BoneIndex_t typedef.

type CameraVideoStreamFrameHeader

type CameraVideoStreamFrameHeader struct {
	FrameType         EVRTrackedCameraFrameType // enum EVRTrackedCameraFrameType eFrameType
	Width             uint32                    // uint32_t nWidth
	Height            uint32                    // uint32_t nHeight
	BytesPerPixel     uint32                    // uint32_t nBytesPerPixel
	FrameSequence     uint32                    // uint32_t nFrameSequence
	TrackedDevicePose TrackedDevicePose         // struct TrackedDevicePose_t trackedDevicePose
	FrameExposureTime uint64                    // uint64_t ulFrameExposureTime
}

CameraVideoStreamFrameHeader is the CameraVideoStreamFrameHeader_t struct.

type ChaperoneCalibrationState

type ChaperoneCalibrationState int32

ChaperoneCalibrationState is the ChaperoneCalibrationState enum.

const (
	ChaperoneCalibrationStateOK                             ChaperoneCalibrationState = 1   // ChaperoneCalibrationState_OK
	ChaperoneCalibrationStateWarning                        ChaperoneCalibrationState = 100 // ChaperoneCalibrationState_Warning
	ChaperoneCalibrationStateWarningBaseStationMayHaveMoved ChaperoneCalibrationState = 101 // ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved
	ChaperoneCalibrationStateWarningBaseStationRemoved      ChaperoneCalibrationState = 102 // ChaperoneCalibrationState_Warning_BaseStationRemoved
	ChaperoneCalibrationStateWarningSeatedBoundsInvalid     ChaperoneCalibrationState = 103 // ChaperoneCalibrationState_Warning_SeatedBoundsInvalid
	ChaperoneCalibrationStateError                          ChaperoneCalibrationState = 200 // ChaperoneCalibrationState_Error
	ChaperoneCalibrationStateErrorBaseStationUninitialized  ChaperoneCalibrationState = 201 // ChaperoneCalibrationState_Error_BaseStationUninitialized
	ChaperoneCalibrationStateErrorBaseStationConflict       ChaperoneCalibrationState = 202 // ChaperoneCalibrationState_Error_BaseStationConflict
	ChaperoneCalibrationStateErrorPlayAreaInvalid           ChaperoneCalibrationState = 203 // ChaperoneCalibrationState_Error_PlayAreaInvalid
	ChaperoneCalibrationStateErrorCollisionBoundsInvalid    ChaperoneCalibrationState = 204 // ChaperoneCalibrationState_Error_CollisionBoundsInvalid
)

type CollisionBoundsStyle

type CollisionBoundsStyle = ECollisionBoundsStyle

CollisionBoundsStyle is the CollisionBoundsStyle_t typedef.

type ColorSpace

type ColorSpace = EColorSpace

ColorSpace is the ColorSpace typedef.

type CompositorBenchmarkResults

type CompositorBenchmarkResults struct {
	MegaPixelsPerSecond               float32 // float m_flMegaPixelsPerSecond
	HmdRecommendedMegaPixelsPerSecond float32 // float m_flHmdRecommendedMegaPixelsPerSecond
}

CompositorBenchmarkResults is the Compositor_BenchmarkResults struct.

type CompositorCumulativeStats

type CompositorCumulativeStats struct {
	Pid                           uint32  // uint32_t m_nPid
	NumFramePresents              uint32  // uint32_t m_nNumFramePresents
	NumDroppedFrames              uint32  // uint32_t m_nNumDroppedFrames
	NumReprojectedFrames          uint32  // uint32_t m_nNumReprojectedFrames
	NumFramePresentsOnStartup     uint32  // uint32_t m_nNumFramePresentsOnStartup
	NumDroppedFramesOnStartup     uint32  // uint32_t m_nNumDroppedFramesOnStartup
	NumReprojectedFramesOnStartup uint32  // uint32_t m_nNumReprojectedFramesOnStartup
	NumLoading                    uint32  // uint32_t m_nNumLoading
	NumFramePresentsLoading       uint32  // uint32_t m_nNumFramePresentsLoading
	NumDroppedFramesLoading       uint32  // uint32_t m_nNumDroppedFramesLoading
	NumReprojectedFramesLoading   uint32  // uint32_t m_nNumReprojectedFramesLoading
	NumTimedOut                   uint32  // uint32_t m_nNumTimedOut
	NumFramePresentsTimedOut      uint32  // uint32_t m_nNumFramePresentsTimedOut
	NumDroppedFramesTimedOut      uint32  // uint32_t m_nNumDroppedFramesTimedOut
	NumReprojectedFramesTimedOut  uint32  // uint32_t m_nNumReprojectedFramesTimedOut
	NumFrameSubmits               uint32  // uint32_t m_nNumFrameSubmits
	SumCompositorCPUTimeMS        float64 // vrshared_double m_flSumCompositorCPUTimeMS
	SumCompositorGPUTimeMS        float64 // vrshared_double m_flSumCompositorGPUTimeMS
	SumTargetFrameTimes           float64 // vrshared_double m_flSumTargetFrameTimes
	SumApplicationCPUTimeMS       float64 // vrshared_double m_flSumApplicationCPUTimeMS
	SumApplicationGPUTimeMS       float64 // vrshared_double m_flSumApplicationGPUTimeMS
	NumFramesWithDepth            uint32  // uint32_t m_nNumFramesWithDepth
}

CompositorCumulativeStats is the Compositor_CumulativeStats struct.

type CompositorFrameTiming

type CompositorFrameTiming struct {
	Size                    uint32            // uint32_t m_nSize
	FrameIndex              uint32            // uint32_t m_nFrameIndex
	NumFramePresents        uint32            // uint32_t m_nNumFramePresents
	NumMisPresented         uint32            // uint32_t m_nNumMisPresented
	NumDroppedFrames        uint32            // uint32_t m_nNumDroppedFrames
	ReprojectionFlags       uint32            // uint32_t m_nReprojectionFlags
	SystemTimeInSeconds     float64           // double m_flSystemTimeInSeconds
	PreSubmitGpuMs          float32           // float m_flPreSubmitGpuMs
	PostSubmitGpuMs         float32           // float m_flPostSubmitGpuMs
	TotalRenderGpuMs        float32           // float m_flTotalRenderGpuMs
	CompositorRenderGpuMs   float32           // float m_flCompositorRenderGpuMs
	CompositorRenderCpuMs   float32           // float m_flCompositorRenderCpuMs
	CompositorIdleCpuMs     float32           // float m_flCompositorIdleCpuMs
	ClientFrameIntervalMs   float32           // float m_flClientFrameIntervalMs
	PresentCallCpuMs        float32           // float m_flPresentCallCpuMs
	WaitForPresentCpuMs     float32           // float m_flWaitForPresentCpuMs
	SubmitFrameMs           float32           // float m_flSubmitFrameMs
	WaitGetPosesCalledMs    float32           // float m_flWaitGetPosesCalledMs
	NewPosesReadyMs         float32           // float m_flNewPosesReadyMs
	NewFrameReadyMs         float32           // float m_flNewFrameReadyMs
	CompositorUpdateStartMs float32           // float m_flCompositorUpdateStartMs
	CompositorUpdateEndMs   float32           // float m_flCompositorUpdateEndMs
	CompositorRenderStartMs float32           // float m_flCompositorRenderStartMs
	HmdPose                 TrackedDevicePose // TrackedDevicePose_t m_HmdPose
	NumVSyncsReadyForUse    uint32            // uint32_t m_nNumVSyncsReadyForUse
	NumVSyncsToFirstView    uint32            // uint32_t m_nNumVSyncsToFirstView
	TransferLatencyMs       float32           // float m_flTransferLatencyMs
}

CompositorFrameTiming is the Compositor_FrameTiming struct.

type CompositorStageRenderSettings

type CompositorStageRenderSettings struct {
	PrimaryColor        HmdColor // struct HmdColor_t m_PrimaryColor
	SecondaryColor      HmdColor // struct HmdColor_t m_SecondaryColor
	VignetteInnerRadius float32  // float m_flVignetteInnerRadius
	VignetteOuterRadius float32  // float m_flVignetteOuterRadius
	FresnelStrength     float32  // float m_flFresnelStrength
	BackfaceCulling     bool     // _Bool m_bBackfaceCulling
	Greyscale           bool     // _Bool m_bGreyscale
	Wireframe           bool     // _Bool m_bWireframe
}

CompositorStageRenderSettings is the Compositor_StageRenderSettings struct.

type D3D12TextureData

type D3D12TextureData struct {
	Resource     unsafe.Pointer // struct ID3D12Resource * m_pResource
	CommandQueue unsafe.Pointer // struct ID3D12CommandQueue * m_pCommandQueue
	NodeMask     uint32         // uint32_t m_nNodeMask
}

D3D12TextureData is the D3D12TextureData_t struct.

type DistortionCoordinate

type DistortionCoordinate struct {
	U float32 // float u
	V float32 // float v
}

DistortionCoordinate is the DistortionCoordinate_t struct.

type DistortionCoordinates

type DistortionCoordinates struct {
	Red   [2]float32 // float [2] rfRed
	Green [2]float32 // float [2] rfGreen
	Blue  [2]float32 // float [2] rfBlue
}

DistortionCoordinates is the DistortionCoordinates_t struct.

type DmabufAttributes

type DmabufAttributes struct {
	Next        unsafe.Pointer // void * pNext
	Width       uint32         // uint32_t unWidth
	Height      uint32         // uint32_t unHeight
	Depth       uint32         // uint32_t unDepth
	MipLevels   uint32         // uint32_t unMipLevels
	ArrayLayers uint32         // uint32_t unArrayLayers
	SampleCount uint32         // uint32_t unSampleCount
	Format      uint32         // uint32_t unFormat
	Modifier    uint64         // uint64_t ulModifier
	PlaneCount  uint32         // uint32_t unPlaneCount
	Plane       [4]DmabufPlane // struct DmabufPlane_t [4] plane
}

DmabufAttributes is the DmabufAttributes_t struct.

type DmabufPlane

type DmabufPlane struct {
	Offset uint32 // uint32_t unOffset
	Stride uint32 // uint32_t unStride
	Fd     int32  // int32_t nFd
}

DmabufPlane is the DmabufPlane_t struct.

type DriverDirectModeFrameTiming

type DriverDirectModeFrameTiming struct {
	Size              uint32 // uint32_t m_nSize
	NumFramePresents  uint32 // uint32_t m_nNumFramePresents
	NumMisPresented   uint32 // uint32_t m_nNumMisPresented
	NumDroppedFrames  uint32 // uint32_t m_nNumDroppedFrames
	ReprojectionFlags uint32 // uint32_t m_nReprojectionFlags
}

DriverDirectModeFrameTiming is the DriverDirectMode_FrameTiming struct.

type DriverHandle

type DriverHandle = PropertyContainerHandle

DriverHandle is the DriverHandle_t typedef.

type DriverId

type DriverId uint32

DriverId is the DriverId_t typedef.

type EAdditionalRadioFeatures

type EAdditionalRadioFeatures int32

EAdditionalRadioFeatures is the EAdditionalRadioFeatures enum.

const (
	AdditionalRadioFeaturesNone           EAdditionalRadioFeatures = 0 // AdditionalRadioFeatures_None
	AdditionalRadioFeaturesHTCLinkBox     EAdditionalRadioFeatures = 1 // AdditionalRadioFeatures_HTCLinkBox
	AdditionalRadioFeaturesInternalDongle EAdditionalRadioFeatures = 2 // AdditionalRadioFeatures_InternalDongle
	AdditionalRadioFeaturesExternalDongle EAdditionalRadioFeatures = 4 // AdditionalRadioFeatures_ExternalDongle
)

type EBlockQueueCreationFlag

type EBlockQueueCreationFlag int32

EBlockQueueCreationFlag is the EBlockQueueCreationFlag enum.

const (
	BlockQueueFlagOwnerIsReader EBlockQueueCreationFlag = 1 // BlockQueueFlag_OwnerIsReader
)

type EBlockQueueError

type EBlockQueueError int32

EBlockQueueError is the EBlockQueueError enum.

const (
	BlockQueueErrorNone                  EBlockQueueError = 0  // BlockQueueError_None
	BlockQueueErrorQueueAlreadyExists    EBlockQueueError = 1  // BlockQueueError_QueueAlreadyExists
	BlockQueueErrorQueueNotFound         EBlockQueueError = 2  // BlockQueueError_QueueNotFound
	BlockQueueErrorBlockNotAvailable     EBlockQueueError = 3  // BlockQueueError_BlockNotAvailable
	BlockQueueErrorInvalidHandle         EBlockQueueError = 4  // BlockQueueError_InvalidHandle
	BlockQueueErrorInvalidParam          EBlockQueueError = 5  // BlockQueueError_InvalidParam
	BlockQueueErrorParamMismatch         EBlockQueueError = 6  // BlockQueueError_ParamMismatch
	BlockQueueErrorInternalError         EBlockQueueError = 7  // BlockQueueError_InternalError
	BlockQueueErrorAlreadyInitialized    EBlockQueueError = 8  // BlockQueueError_AlreadyInitialized
	BlockQueueErrorOperationIsServerOnly EBlockQueueError = 9  // BlockQueueError_OperationIsServerOnly
	BlockQueueErrorTooManyConnections    EBlockQueueError = 10 // BlockQueueError_TooManyConnections
)

func (EBlockQueueError) Err

func (e EBlockQueueError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EBlockQueueError) Error

func (e EBlockQueueError) Error() string

Error implements the error interface.

func (EBlockQueueError) String

func (e EBlockQueueError) String() string

String returns the C name of the error code.

type EBlockQueueReadType

type EBlockQueueReadType int32

EBlockQueueReadType is the EBlockQueueReadType enum.

const (
	BlockQueueReadLatest EBlockQueueReadType = 0 // BlockQueueRead_Latest
	BlockQueueReadNew    EBlockQueueReadType = 1 // BlockQueueRead_New
	BlockQueueReadNext   EBlockQueueReadType = 2 // BlockQueueRead_Next
)

type EChaperoneConfigFile

type EChaperoneConfigFile int32

EChaperoneConfigFile is the EChaperoneConfigFile enum.

const (
	EChaperoneConfigFileLive EChaperoneConfigFile = 1 // EChaperoneConfigFile_Live
	EChaperoneConfigFileTemp EChaperoneConfigFile = 2 // EChaperoneConfigFile_Temp
)

type EChaperoneImportFlags

type EChaperoneImportFlags int32

EChaperoneImportFlags is the EChaperoneImportFlags enum.

const (
	EChaperoneImportBoundsOnly EChaperoneImportFlags = 1 // EChaperoneImport_BoundsOnly
)

type ECollisionBoundsStyle

type ECollisionBoundsStyle int32

ECollisionBoundsStyle is the ECollisionBoundsStyle enum.

const (
	COLLISIONBOUNDSSTYLEBEGINNER     ECollisionBoundsStyle = 0 // COLLISION_BOUNDS_STYLE_BEGINNER
	COLLISIONBOUNDSSTYLEINTERMEDIATE ECollisionBoundsStyle = 1 // COLLISION_BOUNDS_STYLE_INTERMEDIATE
	COLLISIONBOUNDSSTYLESQUARES      ECollisionBoundsStyle = 2 // COLLISION_BOUNDS_STYLE_SQUARES
	COLLISIONBOUNDSSTYLEADVANCED     ECollisionBoundsStyle = 3 // COLLISION_BOUNDS_STYLE_ADVANCED
	COLLISIONBOUNDSSTYLENONE         ECollisionBoundsStyle = 4 // COLLISION_BOUNDS_STYLE_NONE
	COLLISIONBOUNDSSTYLECOUNT        ECollisionBoundsStyle = 5 // COLLISION_BOUNDS_STYLE_COUNT
)

type EColorSpace

type EColorSpace int32

EColorSpace is the EColorSpace enum.

const (
	ColorSpaceAuto   EColorSpace = 0 // ColorSpace_Auto
	ColorSpaceGamma  EColorSpace = 1 // ColorSpace_Gamma
	ColorSpaceLinear EColorSpace = 2 // ColorSpace_Linear
)

type EDeviceActivityLevel

type EDeviceActivityLevel int32

EDeviceActivityLevel is the EDeviceActivityLevel enum.

const (
	DeviceActivityLevelUnknown                EDeviceActivityLevel = -1 // k_EDeviceActivityLevel_Unknown
	DeviceActivityLevelIdle                   EDeviceActivityLevel = 0  // k_EDeviceActivityLevel_Idle
	DeviceActivityLevelUserInteraction        EDeviceActivityLevel = 1  // k_EDeviceActivityLevel_UserInteraction
	DeviceActivityLevelUserInteractionTimeout EDeviceActivityLevel = 2  // k_EDeviceActivityLevel_UserInteraction_Timeout
	DeviceActivityLevelStandby                EDeviceActivityLevel = 3  // k_EDeviceActivityLevel_Standby
	DeviceActivityLevelIdleTimeout            EDeviceActivityLevel = 4  // k_EDeviceActivityLevel_Idle_Timeout
)

type EDeviceType

type EDeviceType int32

EDeviceType is the EDeviceType enum.

const (
	DeviceTypeInvalid   EDeviceType = -1 // DeviceType_Invalid
	DeviceTypeDirectX11 EDeviceType = 0  // DeviceType_DirectX11
	DeviceTypeVulkan    EDeviceType = 1  // DeviceType_Vulkan
)

type EGamepadTextInputLineMode

type EGamepadTextInputLineMode int32

EGamepadTextInputLineMode is the EGamepadTextInputLineMode enum.

const (
	GamepadTextInputLineModeSingleLine    EGamepadTextInputLineMode = 0 // k_EGamepadTextInputLineModeSingleLine
	GamepadTextInputLineModeMultipleLines EGamepadTextInputLineMode = 1 // k_EGamepadTextInputLineModeMultipleLines
)

type EGamepadTextInputMode

type EGamepadTextInputMode int32

EGamepadTextInputMode is the EGamepadTextInputMode enum.

const (
	GamepadTextInputModeNormal   EGamepadTextInputMode = 0 // k_EGamepadTextInputModeNormal
	GamepadTextInputModePassword EGamepadTextInputMode = 1 // k_EGamepadTextInputModePassword
	GamepadTextInputModeSubmit   EGamepadTextInputMode = 2 // k_EGamepadTextInputModeSubmit
)

type EHDCPError

type EHDCPError int32

EHDCPError is the EHDCPError enum.

const (
	HDCPErrorNone          EHDCPError = 0 // HDCPError_None
	HDCPErrorLinkLost      EHDCPError = 1 // HDCPError_LinkLost
	HDCPErrorTampered      EHDCPError = 2 // HDCPError_Tampered
	HDCPErrorDeviceRevoked EHDCPError = 3 // HDCPError_DeviceRevoked
	HDCPErrorUnknown       EHDCPError = 4 // HDCPError_Unknown
)

func (EHDCPError) Err

func (e EHDCPError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EHDCPError) Error

func (e EHDCPError) Error() string

Error implements the error interface.

func (EHDCPError) String

func (e EHDCPError) String() string

String returns the C name of the error code.

type EHiddenAreaMeshType

type EHiddenAreaMeshType int32

EHiddenAreaMeshType is the EHiddenAreaMeshType enum.

const (
	HiddenAreaMeshStandard EHiddenAreaMeshType = 0 // k_eHiddenAreaMesh_Standard
	HiddenAreaMeshInverse  EHiddenAreaMeshType = 1 // k_eHiddenAreaMesh_Inverse
	HiddenAreaMeshLineLoop EHiddenAreaMeshType = 2 // k_eHiddenAreaMesh_LineLoop
	HiddenAreaMeshMax      EHiddenAreaMeshType = 3 // k_eHiddenAreaMesh_Max
)

type EHmdTrackingStyle

type EHmdTrackingStyle int32

EHmdTrackingStyle is the EHmdTrackingStyle enum.

const (
	HmdTrackingStyleUnknown          EHmdTrackingStyle = 0 // HmdTrackingStyle_Unknown
	HmdTrackingStyleLighthouse       EHmdTrackingStyle = 1 // HmdTrackingStyle_Lighthouse
	HmdTrackingStyleOutsideInCameras EHmdTrackingStyle = 2 // HmdTrackingStyle_OutsideInCameras
	HmdTrackingStyleInsideOutCameras EHmdTrackingStyle = 3 // HmdTrackingStyle_InsideOutCameras
)

type EIOBufferError

type EIOBufferError int32

EIOBufferError is the EIOBufferError enum.

const (
	IOBufferSuccess          EIOBufferError = 0   // IOBuffer_Success
	IOBufferOperationFailed  EIOBufferError = 100 // IOBuffer_OperationFailed
	IOBufferInvalidHandle    EIOBufferError = 101 // IOBuffer_InvalidHandle
	IOBufferInvalidArgument  EIOBufferError = 102 // IOBuffer_InvalidArgument
	IOBufferPathExists       EIOBufferError = 103 // IOBuffer_PathExists
	IOBufferPathDoesNotExist EIOBufferError = 104 // IOBuffer_PathDoesNotExist
	IOBufferPermission       EIOBufferError = 105 // IOBuffer_Permission
)

func (EIOBufferError) Err

func (e EIOBufferError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EIOBufferError) Error

func (e EIOBufferError) Error() string

Error implements the error interface.

func (EIOBufferError) String

func (e EIOBufferError) String() string

String returns the C name of the error code.

type EIOBufferMode

type EIOBufferMode int32

EIOBufferMode is the EIOBufferMode enum.

const (
	IOBufferModeRead   EIOBufferMode = 1   // IOBufferMode_Read
	IOBufferModeWrite  EIOBufferMode = 2   // IOBufferMode_Write
	IOBufferModeCreate EIOBufferMode = 512 // IOBufferMode_Create
)

type EKeyboardFlags

type EKeyboardFlags int32

EKeyboardFlags is the EKeyboardFlags enum.

const (
	KeyboardFlagMinimal       EKeyboardFlags = 1 // KeyboardFlag_Minimal
	KeyboardFlagModal         EKeyboardFlags = 2 // KeyboardFlag_Modal
	KeyboardFlagShowArrowKeys EKeyboardFlags = 4 // KeyboardFlag_ShowArrowKeys
	KeyboardFlagHideDoneKey   EKeyboardFlags = 8 // KeyboardFlag_HideDoneKey
)

type EPropertyWriteType

type EPropertyWriteType int32

EPropertyWriteType is the EPropertyWriteType enum.

const (
	PropertyWriteSet      EPropertyWriteType = 0 // PropertyWrite_Set
	PropertyWriteErase    EPropertyWriteType = 1 // PropertyWrite_Erase
	PropertyWriteSetError EPropertyWriteType = 2 // PropertyWrite_SetError
)

type EShowUIType

type EShowUIType int32

EShowUIType is the EShowUIType enum.

const (
	ShowUIControllerBinding     EShowUIType = 0 // ShowUI_ControllerBinding
	ShowUIManageTrackers        EShowUIType = 1 // ShowUI_ManageTrackers
	ShowUIPairing               EShowUIType = 3 // ShowUI_Pairing
	ShowUISettings              EShowUIType = 4 // ShowUI_Settings
	ShowUIDebugCommands         EShowUIType = 5 // ShowUI_DebugCommands
	ShowUIFullControllerBinding EShowUIType = 6 // ShowUI_FullControllerBinding
	ShowUIManageDrivers         EShowUIType = 7 // ShowUI_ManageDrivers
)

type ETextureType

type ETextureType int32

ETextureType is the ETextureType enum.

const (
	TextureTypeInvalid             ETextureType = -1 // TextureType_Invalid
	TextureTypeDirectX             ETextureType = 0  // TextureType_DirectX
	TextureTypeOpenGL              ETextureType = 1  // TextureType_OpenGL
	TextureTypeVulkan              ETextureType = 2  // TextureType_Vulkan
	TextureTypeIOSurface           ETextureType = 3  // TextureType_IOSurface
	TextureTypeDirectX12           ETextureType = 4  // TextureType_DirectX12
	TextureTypeDXGISharedHandle    ETextureType = 5  // TextureType_DXGISharedHandle
	TextureTypeMetal               ETextureType = 6  // TextureType_Metal
	TextureTypeReserved            ETextureType = 7  // TextureType_Reserved
	TextureTypeSharedTextureHandle ETextureType = 8  // TextureType_SharedTextureHandle
)

type ETrackedControllerRole

type ETrackedControllerRole int32

ETrackedControllerRole is the ETrackedControllerRole enum.

const (
	TrackedControllerRoleInvalid   ETrackedControllerRole = 0 // TrackedControllerRole_Invalid
	TrackedControllerRoleLeftHand  ETrackedControllerRole = 1 // TrackedControllerRole_LeftHand
	TrackedControllerRoleRightHand ETrackedControllerRole = 2 // TrackedControllerRole_RightHand
	TrackedControllerRoleOptOut    ETrackedControllerRole = 3 // TrackedControllerRole_OptOut
	TrackedControllerRoleTreadmill ETrackedControllerRole = 4 // TrackedControllerRole_Treadmill
	TrackedControllerRoleStylus    ETrackedControllerRole = 5 // TrackedControllerRole_Stylus
	TrackedControllerRoleMax       ETrackedControllerRole = 5 // TrackedControllerRole_Max
)

type ETrackedDeviceClass

type ETrackedDeviceClass int32

ETrackedDeviceClass is the ETrackedDeviceClass enum.

const (
	TrackedDeviceClassInvalid           ETrackedDeviceClass = 0 // TrackedDeviceClass_Invalid
	TrackedDeviceClassHMD               ETrackedDeviceClass = 1 // TrackedDeviceClass_HMD
	TrackedDeviceClassController        ETrackedDeviceClass = 2 // TrackedDeviceClass_Controller
	TrackedDeviceClassGenericTracker    ETrackedDeviceClass = 3 // TrackedDeviceClass_GenericTracker
	TrackedDeviceClassTrackingReference ETrackedDeviceClass = 4 // TrackedDeviceClass_TrackingReference
	TrackedDeviceClassDisplayRedirect   ETrackedDeviceClass = 5 // TrackedDeviceClass_DisplayRedirect
	TrackedDeviceClassMax               ETrackedDeviceClass = 6 // TrackedDeviceClass_Max
)

type ETrackedDeviceProperty

type ETrackedDeviceProperty int32

ETrackedDeviceProperty is the ETrackedDeviceProperty enum.

const (
	PropInvalid                                       ETrackedDeviceProperty = 0       // Prop_Invalid
	PropTrackingSystemNameString                      ETrackedDeviceProperty = 1000    // Prop_TrackingSystemName_String
	PropModelNumberString                             ETrackedDeviceProperty = 1001    // Prop_ModelNumber_String
	PropSerialNumberString                            ETrackedDeviceProperty = 1002    // Prop_SerialNumber_String
	PropRenderModelNameString                         ETrackedDeviceProperty = 1003    // Prop_RenderModelName_String
	PropWillDriftInYawBool                            ETrackedDeviceProperty = 1004    // Prop_WillDriftInYaw_Bool
	PropManufacturerNameString                        ETrackedDeviceProperty = 1005    // Prop_ManufacturerName_String
	PropTrackingFirmwareVersionString                 ETrackedDeviceProperty = 1006    // Prop_TrackingFirmwareVersion_String
	PropHardwareRevisionString                        ETrackedDeviceProperty = 1007    // Prop_HardwareRevision_String
	PropAllWirelessDongleDescriptionsString           ETrackedDeviceProperty = 1008    // Prop_AllWirelessDongleDescriptions_String
	PropConnectedWirelessDongleString                 ETrackedDeviceProperty = 1009    // Prop_ConnectedWirelessDongle_String
	PropDeviceIsWirelessBool                          ETrackedDeviceProperty = 1010    // Prop_DeviceIsWireless_Bool
	PropDeviceIsChargingBool                          ETrackedDeviceProperty = 1011    // Prop_DeviceIsCharging_Bool
	PropDeviceBatteryPercentageFloat                  ETrackedDeviceProperty = 1012    // Prop_DeviceBatteryPercentage_Float
	PropStatusDisplayTransformMatrix34                ETrackedDeviceProperty = 1013    // Prop_StatusDisplayTransform_Matrix34
	PropFirmwareUpdateAvailableBool                   ETrackedDeviceProperty = 1014    // Prop_Firmware_UpdateAvailable_Bool
	PropFirmwareManualUpdateBool                      ETrackedDeviceProperty = 1015    // Prop_Firmware_ManualUpdate_Bool
	PropFirmwareManualUpdateURLString                 ETrackedDeviceProperty = 1016    // Prop_Firmware_ManualUpdateURL_String
	PropHardwareRevisionUint64                        ETrackedDeviceProperty = 1017    // Prop_HardwareRevision_Uint64
	PropFirmwareVersionUint64                         ETrackedDeviceProperty = 1018    // Prop_FirmwareVersion_Uint64
	PropFPGAVersionUint64                             ETrackedDeviceProperty = 1019    // Prop_FPGAVersion_Uint64
	PropVRCVersionUint64                              ETrackedDeviceProperty = 1020    // Prop_VRCVersion_Uint64
	PropRadioVersionUint64                            ETrackedDeviceProperty = 1021    // Prop_RadioVersion_Uint64
	PropDongleVersionUint64                           ETrackedDeviceProperty = 1022    // Prop_DongleVersion_Uint64
	PropBlockServerShutdownBool                       ETrackedDeviceProperty = 1023    // Prop_BlockServerShutdown_Bool
	PropCanUnifyCoordinateSystemWithHmdBool           ETrackedDeviceProperty = 1024    // Prop_CanUnifyCoordinateSystemWithHmd_Bool
	PropContainsProximitySensorBool                   ETrackedDeviceProperty = 1025    // Prop_ContainsProximitySensor_Bool
	PropDeviceProvidesBatteryStatusBool               ETrackedDeviceProperty = 1026    // Prop_DeviceProvidesBatteryStatus_Bool
	PropDeviceCanPowerOffBool                         ETrackedDeviceProperty = 1027    // Prop_DeviceCanPowerOff_Bool
	PropFirmwareProgrammingTargetString               ETrackedDeviceProperty = 1028    // Prop_Firmware_ProgrammingTarget_String
	PropDeviceClassInt32                              ETrackedDeviceProperty = 1029    // Prop_DeviceClass_Int32
	PropHasCameraBool                                 ETrackedDeviceProperty = 1030    // Prop_HasCamera_Bool
	PropDriverVersionString                           ETrackedDeviceProperty = 1031    // Prop_DriverVersion_String
	PropFirmwareForceUpdateRequiredBool               ETrackedDeviceProperty = 1032    // Prop_Firmware_ForceUpdateRequired_Bool
	PropViveSystemButtonFixRequiredBool               ETrackedDeviceProperty = 1033    // Prop_ViveSystemButtonFixRequired_Bool
	PropParentDriverUint64                            ETrackedDeviceProperty = 1034    // Prop_ParentDriver_Uint64
	PropResourceRootString                            ETrackedDeviceProperty = 1035    // Prop_ResourceRoot_String
	PropRegisteredDeviceTypeString                    ETrackedDeviceProperty = 1036    // Prop_RegisteredDeviceType_String
	PropInputProfilePathString                        ETrackedDeviceProperty = 1037    // Prop_InputProfilePath_String
	PropNeverTrackedBool                              ETrackedDeviceProperty = 1038    // Prop_NeverTracked_Bool
	PropNumCamerasInt32                               ETrackedDeviceProperty = 1039    // Prop_NumCameras_Int32
	PropCameraFrameLayoutInt32                        ETrackedDeviceProperty = 1040    // Prop_CameraFrameLayout_Int32
	PropCameraStreamFormatInt32                       ETrackedDeviceProperty = 1041    // Prop_CameraStreamFormat_Int32
	PropAdditionalDeviceSettingsPathString            ETrackedDeviceProperty = 1042    // Prop_AdditionalDeviceSettingsPath_String
	PropIdentifiableBool                              ETrackedDeviceProperty = 1043    // Prop_Identifiable_Bool
	PropBootloaderVersionUint64                       ETrackedDeviceProperty = 1044    // Prop_BootloaderVersion_Uint64
	PropAdditionalSystemReportDataString              ETrackedDeviceProperty = 1045    // Prop_AdditionalSystemReportData_String
	PropCompositeFirmwareVersionString                ETrackedDeviceProperty = 1046    // Prop_CompositeFirmwareVersion_String
	PropFirmwareRemindUpdateBool                      ETrackedDeviceProperty = 1047    // Prop_Firmware_RemindUpdate_Bool
	PropPeripheralApplicationVersionUint64            ETrackedDeviceProperty = 1048    // Prop_PeripheralApplicationVersion_Uint64
	PropManufacturerSerialNumberString                ETrackedDeviceProperty = 1049    // Prop_ManufacturerSerialNumber_String
	PropComputedSerialNumberString                    ETrackedDeviceProperty = 1050    // Prop_ComputedSerialNumber_String
	PropEstimatedDeviceFirstUseTimeInt32              ETrackedDeviceProperty = 1051    // Prop_EstimatedDeviceFirstUseTime_Int32
	PropDevicePowerUsageFloat                         ETrackedDeviceProperty = 1052    // Prop_DevicePowerUsage_Float
	PropIgnoreMotionForStandbyBool                    ETrackedDeviceProperty = 1053    // Prop_IgnoreMotionForStandby_Bool
	PropActualTrackingSystemNameString                ETrackedDeviceProperty = 1054    // Prop_ActualTrackingSystemName_String
	PropAllowCameraToggleBool                         ETrackedDeviceProperty = 1055    // Prop_AllowCameraToggle_Bool
	PropAllowLightSourceFrequencyBool                 ETrackedDeviceProperty = 1056    // Prop_AllowLightSourceFrequency_Bool
	PropSteamRemoteClientIDUint64                     ETrackedDeviceProperty = 1057    // Prop_SteamRemoteClientID_Uint64
	PropReserved1058                                  ETrackedDeviceProperty = 1058    // Prop_Reserved_1058
	PropReserved1059                                  ETrackedDeviceProperty = 1059    // Prop_Reserved_1059
	PropReserved1060                                  ETrackedDeviceProperty = 1060    // Prop_Reserved_1060
	PropReportsTimeSinceVSyncBool                     ETrackedDeviceProperty = 2000    // Prop_ReportsTimeSinceVSync_Bool
	PropSecondsFromVsyncToPhotonsFloat                ETrackedDeviceProperty = 2001    // Prop_SecondsFromVsyncToPhotons_Float
	PropDisplayFrequencyFloat                         ETrackedDeviceProperty = 2002    // Prop_DisplayFrequency_Float
	PropUserIpdMetersFloat                            ETrackedDeviceProperty = 2003    // Prop_UserIpdMeters_Float
	PropCurrentUniverseIdUint64                       ETrackedDeviceProperty = 2004    // Prop_CurrentUniverseId_Uint64
	PropPreviousUniverseIdUint64Deprecated            ETrackedDeviceProperty = 0       // Prop_PreviousUniverseId_Uint64_deprecated
	PropDisplayFirmwareVersionUint64                  ETrackedDeviceProperty = 2006    // Prop_DisplayFirmwareVersion_Uint64
	PropIsOnDesktopBool                               ETrackedDeviceProperty = 2007    // Prop_IsOnDesktop_Bool
	PropDisplayMCTypeInt32                            ETrackedDeviceProperty = 2008    // Prop_DisplayMCType_Int32
	PropDisplayMCOffsetFloat                          ETrackedDeviceProperty = 2009    // Prop_DisplayMCOffset_Float
	PropDisplayMCScaleFloat                           ETrackedDeviceProperty = 2010    // Prop_DisplayMCScale_Float
	PropEdidVendorIDInt32                             ETrackedDeviceProperty = 2011    // Prop_EdidVendorID_Int32
	PropDisplayMCImageLeftString                      ETrackedDeviceProperty = 2012    // Prop_DisplayMCImageLeft_String
	PropDisplayMCImageRightString                     ETrackedDeviceProperty = 2013    // Prop_DisplayMCImageRight_String
	PropDisplayGCBlackClampFloat                      ETrackedDeviceProperty = 2014    // Prop_DisplayGCBlackClamp_Float
	PropEdidProductIDInt32                            ETrackedDeviceProperty = 2015    // Prop_EdidProductID_Int32
	PropCameraToHeadTransformMatrix34                 ETrackedDeviceProperty = 2016    // Prop_CameraToHeadTransform_Matrix34
	PropDisplayGCTypeInt32                            ETrackedDeviceProperty = 2017    // Prop_DisplayGCType_Int32
	PropDisplayGCOffsetFloat                          ETrackedDeviceProperty = 2018    // Prop_DisplayGCOffset_Float
	PropDisplayGCScaleFloat                           ETrackedDeviceProperty = 2019    // Prop_DisplayGCScale_Float
	PropDisplayGCPrescaleFloat                        ETrackedDeviceProperty = 2020    // Prop_DisplayGCPrescale_Float
	PropDisplayGCImageString                          ETrackedDeviceProperty = 2021    // Prop_DisplayGCImage_String
	PropLensCenterLeftUFloat                          ETrackedDeviceProperty = 2022    // Prop_LensCenterLeftU_Float
	PropLensCenterLeftVFloat                          ETrackedDeviceProperty = 2023    // Prop_LensCenterLeftV_Float
	PropLensCenterRightUFloat                         ETrackedDeviceProperty = 2024    // Prop_LensCenterRightU_Float
	PropLensCenterRightVFloat                         ETrackedDeviceProperty = 2025    // Prop_LensCenterRightV_Float
	PropUserHeadToEyeDepthMetersFloat                 ETrackedDeviceProperty = 2026    // Prop_UserHeadToEyeDepthMeters_Float
	PropCameraFirmwareVersionUint64                   ETrackedDeviceProperty = 2027    // Prop_CameraFirmwareVersion_Uint64
	PropCameraFirmwareDescriptionString               ETrackedDeviceProperty = 2028    // Prop_CameraFirmwareDescription_String
	PropDisplayFPGAVersionUint64                      ETrackedDeviceProperty = 2029    // Prop_DisplayFPGAVersion_Uint64
	PropDisplayBootloaderVersionUint64                ETrackedDeviceProperty = 2030    // Prop_DisplayBootloaderVersion_Uint64
	PropDisplayHardwareVersionUint64                  ETrackedDeviceProperty = 2031    // Prop_DisplayHardwareVersion_Uint64
	PropAudioFirmwareVersionUint64                    ETrackedDeviceProperty = 2032    // Prop_AudioFirmwareVersion_Uint64
	PropCameraCompatibilityModeInt32                  ETrackedDeviceProperty = 2033    // Prop_CameraCompatibilityMode_Int32
	PropScreenshotHorizontalFieldOfViewDegreesFloat   ETrackedDeviceProperty = 2034    // Prop_ScreenshotHorizontalFieldOfViewDegrees_Float
	PropScreenshotVerticalFieldOfViewDegreesFloat     ETrackedDeviceProperty = 2035    // Prop_ScreenshotVerticalFieldOfViewDegrees_Float
	PropDisplaySuppressedBool                         ETrackedDeviceProperty = 2036    // Prop_DisplaySuppressed_Bool
	PropDisplayAllowNightModeBool                     ETrackedDeviceProperty = 2037    // Prop_DisplayAllowNightMode_Bool
	PropDisplayMCImageWidthInt32                      ETrackedDeviceProperty = 2038    // Prop_DisplayMCImageWidth_Int32
	PropDisplayMCImageHeightInt32                     ETrackedDeviceProperty = 2039    // Prop_DisplayMCImageHeight_Int32
	PropDisplayMCImageNumChannelsInt32                ETrackedDeviceProperty = 2040    // Prop_DisplayMCImageNumChannels_Int32
	PropDisplayMCImageDataBinary                      ETrackedDeviceProperty = 2041    // Prop_DisplayMCImageData_Binary
	PropSecondsFromPhotonsToVblankFloat               ETrackedDeviceProperty = 2042    // Prop_SecondsFromPhotonsToVblank_Float
	PropDriverDirectModeSendsVsyncEventsBool          ETrackedDeviceProperty = 2043    // Prop_DriverDirectModeSendsVsyncEvents_Bool
	PropDisplayDebugModeBool                          ETrackedDeviceProperty = 2044    // Prop_DisplayDebugMode_Bool
	PropGraphicsAdapterLuidUint64                     ETrackedDeviceProperty = 2045    // Prop_GraphicsAdapterLuid_Uint64
	PropDriverProvidedChaperonePathString             ETrackedDeviceProperty = 2048    // Prop_DriverProvidedChaperonePath_String
	PropExpectedTrackingReferenceCountInt32           ETrackedDeviceProperty = 2049    // Prop_ExpectedTrackingReferenceCount_Int32
	PropExpectedControllerCountInt32                  ETrackedDeviceProperty = 2050    // Prop_ExpectedControllerCount_Int32
	PropNamedIconPathControllerLeftDeviceOffString    ETrackedDeviceProperty = 2051    // Prop_NamedIconPathControllerLeftDeviceOff_String
	PropNamedIconPathControllerRightDeviceOffString   ETrackedDeviceProperty = 2052    // Prop_NamedIconPathControllerRightDeviceOff_String
	PropNamedIconPathTrackingReferenceDeviceOffString ETrackedDeviceProperty = 2053    // Prop_NamedIconPathTrackingReferenceDeviceOff_String
	PropDoNotApplyPredictionBool                      ETrackedDeviceProperty = 2054    // Prop_DoNotApplyPrediction_Bool
	PropCameraToHeadTransformsMatrix34Array           ETrackedDeviceProperty = 2055    // Prop_CameraToHeadTransforms_Matrix34_Array
	PropDistortionMeshResolutionInt32                 ETrackedDeviceProperty = 2056    // Prop_DistortionMeshResolution_Int32
	PropDriverIsDrawingControllersBool                ETrackedDeviceProperty = 2057    // Prop_DriverIsDrawingControllers_Bool
	PropDriverRequestsApplicationPauseBool            ETrackedDeviceProperty = 2058    // Prop_DriverRequestsApplicationPause_Bool
	PropDriverRequestsReducedRenderingBool            ETrackedDeviceProperty = 2059    // Prop_DriverRequestsReducedRendering_Bool
	PropMinimumIpdStepMetersFloat                     ETrackedDeviceProperty = 2060    // Prop_MinimumIpdStepMeters_Float
	PropAudioBridgeFirmwareVersionUint64              ETrackedDeviceProperty = 2061    // Prop_AudioBridgeFirmwareVersion_Uint64
	PropImageBridgeFirmwareVersionUint64              ETrackedDeviceProperty = 2062    // Prop_ImageBridgeFirmwareVersion_Uint64
	PropImuToHeadTransformMatrix34                    ETrackedDeviceProperty = 2063    // Prop_ImuToHeadTransform_Matrix34
	PropImuFactoryGyroBiasVector3                     ETrackedDeviceProperty = 2064    // Prop_ImuFactoryGyroBias_Vector3
	PropImuFactoryGyroScaleVector3                    ETrackedDeviceProperty = 2065    // Prop_ImuFactoryGyroScale_Vector3
	PropImuFactoryAccelerometerBiasVector3            ETrackedDeviceProperty = 2066    // Prop_ImuFactoryAccelerometerBias_Vector3
	PropImuFactoryAccelerometerScaleVector3           ETrackedDeviceProperty = 2067    // Prop_ImuFactoryAccelerometerScale_Vector3
	PropConfigurationIncludesLighthouse20FeaturesBool ETrackedDeviceProperty = 2069    // Prop_ConfigurationIncludesLighthouse20Features_Bool
	PropAdditionalRadioFeaturesUint64                 ETrackedDeviceProperty = 2070    // Prop_AdditionalRadioFeatures_Uint64
	PropCameraWhiteBalanceVector4Array                ETrackedDeviceProperty = 2071    // Prop_CameraWhiteBalance_Vector4_Array
	PropCameraDistortionFunctionInt32Array            ETrackedDeviceProperty = 2072    // Prop_CameraDistortionFunction_Int32_Array
	PropCameraDistortionCoefficientsFloatArray        ETrackedDeviceProperty = 2073    // Prop_CameraDistortionCoefficients_Float_Array
	PropExpectedControllerTypeString                  ETrackedDeviceProperty = 2074    // Prop_ExpectedControllerType_String
	PropHmdTrackingStyleInt32                         ETrackedDeviceProperty = 2075    // Prop_HmdTrackingStyle_Int32
	PropDriverProvidedChaperoneVisibilityBool         ETrackedDeviceProperty = 2076    // Prop_DriverProvidedChaperoneVisibility_Bool
	PropHmdColumnCorrectionSettingPrefixString        ETrackedDeviceProperty = 2077    // Prop_HmdColumnCorrectionSettingPrefix_String
	PropCameraSupportsCompatibilityModesBool          ETrackedDeviceProperty = 2078    // Prop_CameraSupportsCompatibilityModes_Bool
	PropSupportsRoomViewDepthProjectionBool           ETrackedDeviceProperty = 2079    // Prop_SupportsRoomViewDepthProjection_Bool
	PropDisplayAvailableFrameRatesFloatArray          ETrackedDeviceProperty = 2080    // Prop_DisplayAvailableFrameRates_Float_Array
	PropDisplaySupportsMultipleFrameratesBool         ETrackedDeviceProperty = 2081    // Prop_DisplaySupportsMultipleFramerates_Bool
	PropDisplayColorMultLeftVector3                   ETrackedDeviceProperty = 2082    // Prop_DisplayColorMultLeft_Vector3
	PropDisplayColorMultRightVector3                  ETrackedDeviceProperty = 2083    // Prop_DisplayColorMultRight_Vector3
	PropDisplaySupportsRuntimeFramerateChangeBool     ETrackedDeviceProperty = 2084    // Prop_DisplaySupportsRuntimeFramerateChange_Bool
	PropDisplaySupportsAnalogGainBool                 ETrackedDeviceProperty = 2085    // Prop_DisplaySupportsAnalogGain_Bool
	PropDisplayMinAnalogGainFloat                     ETrackedDeviceProperty = 2086    // Prop_DisplayMinAnalogGain_Float
	PropDisplayMaxAnalogGainFloat                     ETrackedDeviceProperty = 2087    // Prop_DisplayMaxAnalogGain_Float
	PropCameraExposureTimeFloat                       ETrackedDeviceProperty = 2088    // Prop_CameraExposureTime_Float
	PropCameraGlobalGainFloat                         ETrackedDeviceProperty = 2089    // Prop_CameraGlobalGain_Float
	PropDashboardScaleFloat                           ETrackedDeviceProperty = 2091    // Prop_DashboardScale_Float
	PropHmdSupportsHDR10Bool                          ETrackedDeviceProperty = 2093    // Prop_Hmd_SupportsHDR10_Bool
	PropHmdEnableParallelRenderCamerasBool            ETrackedDeviceProperty = 2094    // Prop_Hmd_EnableParallelRenderCameras_Bool
	PropDriverProvidedChaperoneJsonString             ETrackedDeviceProperty = 2095    // Prop_DriverProvidedChaperoneJson_String
	PropForceSystemLayerUseAppPosesBool               ETrackedDeviceProperty = 2096    // Prop_ForceSystemLayerUseAppPoses_Bool
	PropDashboardLinkSupportInt32                     ETrackedDeviceProperty = 2097    // Prop_DashboardLinkSupport_Int32
	PropDisplayMinUIAnalogGainFloat                   ETrackedDeviceProperty = 2098    // Prop_DisplayMinUIAnalogGain_Float
	PropIpdUIRangeMinMetersFloat                      ETrackedDeviceProperty = 2100    // Prop_IpdUIRangeMinMeters_Float
	PropIpdUIRangeMaxMetersFloat                      ETrackedDeviceProperty = 2101    // Prop_IpdUIRangeMaxMeters_Float
	PropHmdSupportsHDCP14LegacyCompatBool             ETrackedDeviceProperty = 2102    // Prop_Hmd_SupportsHDCP14LegacyCompat_Bool
	PropHmdSupportsMicMonitoringBool                  ETrackedDeviceProperty = 2103    // Prop_Hmd_SupportsMicMonitoring_Bool
	PropHmdSupportsDisplayPortTrainingModeBool        ETrackedDeviceProperty = 2104    // Prop_Hmd_SupportsDisplayPortTrainingMode_Bool
	PropHmdSupportsRoomViewDirectBool                 ETrackedDeviceProperty = 2105    // Prop_Hmd_SupportsRoomViewDirect_Bool
	PropHmdSupportsAppThrottlingBool                  ETrackedDeviceProperty = 2106    // Prop_Hmd_SupportsAppThrottling_Bool
	PropHmdSupportsGpuBusMonitoringBool               ETrackedDeviceProperty = 2107    // Prop_Hmd_SupportsGpuBusMonitoring_Bool
	PropDriverDisplaysIPDChangesBool                  ETrackedDeviceProperty = 2108    // Prop_DriverDisplaysIPDChanges_Bool
	PropReserved2110                                  ETrackedDeviceProperty = 2110    // Prop_Reserved_2110
	PropReserved2111                                  ETrackedDeviceProperty = 2111    // Prop_Reserved_2111
	PropReserved2112                                  ETrackedDeviceProperty = 2112    // Prop_Reserved_2112
	PropHmdMaxDistortedTextureWidthInt32              ETrackedDeviceProperty = 2113    // Prop_Hmd_MaxDistortedTextureWidth_Int32
	PropHmdMaxDistortedTextureHeightInt32             ETrackedDeviceProperty = 2114    // Prop_Hmd_MaxDistortedTextureHeight_Int32
	PropHmdAllowSupersampleFilteringBool              ETrackedDeviceProperty = 2115    // Prop_Hmd_AllowSupersampleFiltering_Bool
	PropHmdAllowsClientToControlTextureIndex          ETrackedDeviceProperty = 2116    // Prop_Hmd_AllowsClientToControlTextureIndex
	PropReserved2117                                  ETrackedDeviceProperty = 2117    // Prop_Reserved_2117
	PropDriverRequestedMuraCorrectionModeInt32        ETrackedDeviceProperty = 2200    // Prop_DriverRequestedMuraCorrectionMode_Int32
	PropDriverRequestedMuraFeatherInnerLeftInt32      ETrackedDeviceProperty = 2201    // Prop_DriverRequestedMuraFeather_InnerLeft_Int32
	PropDriverRequestedMuraFeatherInnerRightInt32     ETrackedDeviceProperty = 2202    // Prop_DriverRequestedMuraFeather_InnerRight_Int32
	PropDriverRequestedMuraFeatherInnerTopInt32       ETrackedDeviceProperty = 2203    // Prop_DriverRequestedMuraFeather_InnerTop_Int32
	PropDriverRequestedMuraFeatherInnerBottomInt32    ETrackedDeviceProperty = 2204    // Prop_DriverRequestedMuraFeather_InnerBottom_Int32
	PropDriverRequestedMuraFeatherOuterLeftInt32      ETrackedDeviceProperty = 2205    // Prop_DriverRequestedMuraFeather_OuterLeft_Int32
	PropDriverRequestedMuraFeatherOuterRightInt32     ETrackedDeviceProperty = 2206    // Prop_DriverRequestedMuraFeather_OuterRight_Int32
	PropDriverRequestedMuraFeatherOuterTopInt32       ETrackedDeviceProperty = 2207    // Prop_DriverRequestedMuraFeather_OuterTop_Int32
	PropDriverRequestedMuraFeatherOuterBottomInt32    ETrackedDeviceProperty = 2208    // Prop_DriverRequestedMuraFeather_OuterBottom_Int32
	PropAudioDefaultPlaybackDeviceIdString            ETrackedDeviceProperty = 2300    // Prop_Audio_DefaultPlaybackDeviceId_String
	PropAudioDefaultRecordingDeviceIdString           ETrackedDeviceProperty = 2301    // Prop_Audio_DefaultRecordingDeviceId_String
	PropAudioDefaultPlaybackDeviceVolumeFloat         ETrackedDeviceProperty = 2302    // Prop_Audio_DefaultPlaybackDeviceVolume_Float
	PropAudioSupportsDualSpeakerAndJackOutputBool     ETrackedDeviceProperty = 2303    // Prop_Audio_SupportsDualSpeakerAndJackOutput_Bool
	PropAudioDriverManagesPlaybackVolumeControlBool   ETrackedDeviceProperty = 2304    // Prop_Audio_DriverManagesPlaybackVolumeControl_Bool
	PropAudioDriverPlaybackVolumeFloat                ETrackedDeviceProperty = 2305    // Prop_Audio_DriverPlaybackVolume_Float
	PropAudioDriverPlaybackMuteBool                   ETrackedDeviceProperty = 2306    // Prop_Audio_DriverPlaybackMute_Bool
	PropAudioDriverManagesRecordingVolumeControlBool  ETrackedDeviceProperty = 2307    // Prop_Audio_DriverManagesRecordingVolumeControl_Bool
	PropAudioDriverRecordingVolumeFloat               ETrackedDeviceProperty = 2308    // Prop_Audio_DriverRecordingVolume_Float
	PropAudioDriverRecordingMuteBool                  ETrackedDeviceProperty = 2309    // Prop_Audio_DriverRecordingMute_Bool
	PropAudioPipewirePlaybackNodeInt32                ETrackedDeviceProperty = 2400    // Prop_Audio_PipewirePlaybackNode_Int32
	PropAudioPipewireRecordingNodeInt32               ETrackedDeviceProperty = 2401    // Prop_Audio_PipewireRecordingNode_Int32
	PropAttachedDeviceIdString                        ETrackedDeviceProperty = 3000    // Prop_AttachedDeviceId_String
	PropSupportedButtonsUint64                        ETrackedDeviceProperty = 3001    // Prop_SupportedButtons_Uint64
	PropAxis0TypeInt32                                ETrackedDeviceProperty = 3002    // Prop_Axis0Type_Int32
	PropAxis1TypeInt32                                ETrackedDeviceProperty = 3003    // Prop_Axis1Type_Int32
	PropAxis2TypeInt32                                ETrackedDeviceProperty = 3004    // Prop_Axis2Type_Int32
	PropAxis3TypeInt32                                ETrackedDeviceProperty = 3005    // Prop_Axis3Type_Int32
	PropAxis4TypeInt32                                ETrackedDeviceProperty = 3006    // Prop_Axis4Type_Int32
	PropControllerRoleHintInt32                       ETrackedDeviceProperty = 3007    // Prop_ControllerRoleHint_Int32
	PropFieldOfViewLeftDegreesFloat                   ETrackedDeviceProperty = 4000    // Prop_FieldOfViewLeftDegrees_Float
	PropFieldOfViewRightDegreesFloat                  ETrackedDeviceProperty = 4001    // Prop_FieldOfViewRightDegrees_Float
	PropFieldOfViewTopDegreesFloat                    ETrackedDeviceProperty = 4002    // Prop_FieldOfViewTopDegrees_Float
	PropFieldOfViewBottomDegreesFloat                 ETrackedDeviceProperty = 4003    // Prop_FieldOfViewBottomDegrees_Float
	PropTrackingRangeMinimumMetersFloat               ETrackedDeviceProperty = 4004    // Prop_TrackingRangeMinimumMeters_Float
	PropTrackingRangeMaximumMetersFloat               ETrackedDeviceProperty = 4005    // Prop_TrackingRangeMaximumMeters_Float
	PropModeLabelString                               ETrackedDeviceProperty = 4006    // Prop_ModeLabel_String
	PropCanWirelessIdentifyBool                       ETrackedDeviceProperty = 4007    // Prop_CanWirelessIdentify_Bool
	PropNonceInt32                                    ETrackedDeviceProperty = 4008    // Prop_Nonce_Int32
	PropIconPathNameString                            ETrackedDeviceProperty = 5000    // Prop_IconPathName_String
	PropNamedIconPathDeviceOffString                  ETrackedDeviceProperty = 5001    // Prop_NamedIconPathDeviceOff_String
	PropNamedIconPathDeviceSearchingString            ETrackedDeviceProperty = 5002    // Prop_NamedIconPathDeviceSearching_String
	PropNamedIconPathDeviceSearchingAlertString       ETrackedDeviceProperty = 5003    // Prop_NamedIconPathDeviceSearchingAlert_String
	PropNamedIconPathDeviceReadyString                ETrackedDeviceProperty = 5004    // Prop_NamedIconPathDeviceReady_String
	PropNamedIconPathDeviceReadyAlertString           ETrackedDeviceProperty = 5005    // Prop_NamedIconPathDeviceReadyAlert_String
	PropNamedIconPathDeviceNotReadyString             ETrackedDeviceProperty = 5006    // Prop_NamedIconPathDeviceNotReady_String
	PropNamedIconPathDeviceStandbyString              ETrackedDeviceProperty = 5007    // Prop_NamedIconPathDeviceStandby_String
	PropNamedIconPathDeviceAlertLowString             ETrackedDeviceProperty = 5008    // Prop_NamedIconPathDeviceAlertLow_String
	PropNamedIconPathDeviceStandbyAlertString         ETrackedDeviceProperty = 5009    // Prop_NamedIconPathDeviceStandbyAlert_String
	PropDisplayHiddenAreaBinaryStart                  ETrackedDeviceProperty = 5100    // Prop_DisplayHiddenArea_Binary_Start
	PropDisplayHiddenAreaBinaryEnd                    ETrackedDeviceProperty = 5150    // Prop_DisplayHiddenArea_Binary_End
	PropParentContainer                               ETrackedDeviceProperty = 5151    // Prop_ParentContainer
	PropOverrideContainerUint64                       ETrackedDeviceProperty = 5152    // Prop_OverrideContainer_Uint64
	PropUserConfigPathString                          ETrackedDeviceProperty = 6000    // Prop_UserConfigPath_String
	PropInstallPathString                             ETrackedDeviceProperty = 6001    // Prop_InstallPath_String
	PropHasDisplayComponentBool                       ETrackedDeviceProperty = 6002    // Prop_HasDisplayComponent_Bool
	PropHasControllerComponentBool                    ETrackedDeviceProperty = 6003    // Prop_HasControllerComponent_Bool
	PropHasCameraComponentBool                        ETrackedDeviceProperty = 6004    // Prop_HasCameraComponent_Bool
	PropHasDriverDirectModeComponentBool              ETrackedDeviceProperty = 6005    // Prop_HasDriverDirectModeComponent_Bool
	PropHasVirtualDisplayComponentBool                ETrackedDeviceProperty = 6006    // Prop_HasVirtualDisplayComponent_Bool
	PropHasSpatialAnchorsSupportBool                  ETrackedDeviceProperty = 6007    // Prop_HasSpatialAnchorsSupport_Bool
	PropSupportsXrTextureSetsBool                     ETrackedDeviceProperty = 6008    // Prop_SupportsXrTextureSets_Bool
	PropSupportsXrEyeGazeInteractionBool              ETrackedDeviceProperty = 6009    // Prop_SupportsXrEyeGazeInteraction_Bool
	PropDeviceHasNoIMUBool                            ETrackedDeviceProperty = 6010    // Prop_DeviceHasNoIMU_Bool
	PropUseAdvancedPredictionBool                     ETrackedDeviceProperty = 6011    // Prop_UseAdvancedPrediction_Bool
	PropControllerTypeString                          ETrackedDeviceProperty = 7000    // Prop_ControllerType_String
	PropControllerHandSelectionPriorityInt32          ETrackedDeviceProperty = 7002    // Prop_ControllerHandSelectionPriority_Int32
	PropVendorSpecificReservedStart                   ETrackedDeviceProperty = 10000   // Prop_VendorSpecific_Reserved_Start
	PropVendorSpecificReservedEnd                     ETrackedDeviceProperty = 10999   // Prop_VendorSpecific_Reserved_End
	PropReserved11000                                 ETrackedDeviceProperty = 11000   // Prop_Reserved_11000
	PropReserved11001                                 ETrackedDeviceProperty = 11001   // Prop_Reserved_11001
	PropReserved11002                                 ETrackedDeviceProperty = 11002   // Prop_Reserved_11002
	PropReserved11003                                 ETrackedDeviceProperty = 11003   // Prop_Reserved_11003
	PropReserved11004                                 ETrackedDeviceProperty = 11004   // Prop_Reserved_11004
	PropTrackedDevicePropertyMax                      ETrackedDeviceProperty = 1000000 // Prop_TrackedDeviceProperty_Max
)

type ETrackedPropertyError

type ETrackedPropertyError int32

ETrackedPropertyError is the ETrackedPropertyError enum.

const (
	TrackedPropSuccess                    ETrackedPropertyError = 0  // TrackedProp_Success
	TrackedPropWrongDataType              ETrackedPropertyError = 1  // TrackedProp_WrongDataType
	TrackedPropWrongDeviceClass           ETrackedPropertyError = 2  // TrackedProp_WrongDeviceClass
	TrackedPropBufferTooSmall             ETrackedPropertyError = 3  // TrackedProp_BufferTooSmall
	TrackedPropUnknownProperty            ETrackedPropertyError = 4  // TrackedProp_UnknownProperty
	TrackedPropInvalidDevice              ETrackedPropertyError = 5  // TrackedProp_InvalidDevice
	TrackedPropCouldNotContactServer      ETrackedPropertyError = 6  // TrackedProp_CouldNotContactServer
	TrackedPropValueNotProvidedByDevice   ETrackedPropertyError = 7  // TrackedProp_ValueNotProvidedByDevice
	TrackedPropStringExceedsMaximumLength ETrackedPropertyError = 8  // TrackedProp_StringExceedsMaximumLength
	TrackedPropNotYetAvailable            ETrackedPropertyError = 9  // TrackedProp_NotYetAvailable
	TrackedPropPermissionDenied           ETrackedPropertyError = 10 // TrackedProp_PermissionDenied
	TrackedPropInvalidOperation           ETrackedPropertyError = 11 // TrackedProp_InvalidOperation
	TrackedPropCannotWriteToWildcards     ETrackedPropertyError = 12 // TrackedProp_CannotWriteToWildcards
	TrackedPropIPCReadFailure             ETrackedPropertyError = 13 // TrackedProp_IPCReadFailure
	TrackedPropOutOfMemory                ETrackedPropertyError = 14 // TrackedProp_OutOfMemory
	TrackedPropInvalidContainer           ETrackedPropertyError = 15 // TrackedProp_InvalidContainer
)

func (ETrackedPropertyError) Err

func (e ETrackedPropertyError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (ETrackedPropertyError) Error

func (e ETrackedPropertyError) Error() string

Error implements the error interface.

func (ETrackedPropertyError) String

func (e ETrackedPropertyError) String() string

String returns the C name of the error code.

type ETrackingResult

type ETrackingResult int32

ETrackingResult is the ETrackingResult enum.

const (
	TrackingResultUninitialized         ETrackingResult = 1   // TrackingResult_Uninitialized
	TrackingResultCalibratingInProgress ETrackingResult = 100 // TrackingResult_Calibrating_InProgress
	TrackingResultCalibratingOutOfRange ETrackingResult = 101 // TrackingResult_Calibrating_OutOfRange
	TrackingResultRunningOK             ETrackingResult = 200 // TrackingResult_Running_OK
	TrackingResultRunningOutOfRange     ETrackingResult = 201 // TrackingResult_Running_OutOfRange
	TrackingResultFallbackRotationOnly  ETrackingResult = 300 // TrackingResult_Fallback_RotationOnly
)

type ETrackingUniverseOrigin

type ETrackingUniverseOrigin int32

ETrackingUniverseOrigin is the ETrackingUniverseOrigin enum.

const (
	TrackingUniverseSeated             ETrackingUniverseOrigin = 0 // TrackingUniverseSeated
	TrackingUniverseStanding           ETrackingUniverseOrigin = 1 // TrackingUniverseStanding
	TrackingUniverseRawAndUncalibrated ETrackingUniverseOrigin = 2 // TrackingUniverseRawAndUncalibrated
)

type EVRApplicationError

type EVRApplicationError int32

EVRApplicationError is the EVRApplicationError enum.

const (
	VRApplicationErrorNone                       EVRApplicationError = 0   // VRApplicationError_None
	VRApplicationErrorAppKeyAlreadyExists        EVRApplicationError = 100 // VRApplicationError_AppKeyAlreadyExists
	VRApplicationErrorNoManifest                 EVRApplicationError = 101 // VRApplicationError_NoManifest
	VRApplicationErrorNoApplication              EVRApplicationError = 102 // VRApplicationError_NoApplication
	VRApplicationErrorInvalidIndex               EVRApplicationError = 103 // VRApplicationError_InvalidIndex
	VRApplicationErrorUnknownApplication         EVRApplicationError = 104 // VRApplicationError_UnknownApplication
	VRApplicationErrorIPCFailed                  EVRApplicationError = 105 // VRApplicationError_IPCFailed
	VRApplicationErrorApplicationAlreadyRunning  EVRApplicationError = 106 // VRApplicationError_ApplicationAlreadyRunning
	VRApplicationErrorInvalidManifest            EVRApplicationError = 107 // VRApplicationError_InvalidManifest
	VRApplicationErrorInvalidApplication         EVRApplicationError = 108 // VRApplicationError_InvalidApplication
	VRApplicationErrorLaunchFailed               EVRApplicationError = 109 // VRApplicationError_LaunchFailed
	VRApplicationErrorApplicationAlreadyStarting EVRApplicationError = 110 // VRApplicationError_ApplicationAlreadyStarting
	VRApplicationErrorLaunchInProgress           EVRApplicationError = 111 // VRApplicationError_LaunchInProgress
	VRApplicationErrorOldApplicationQuitting     EVRApplicationError = 112 // VRApplicationError_OldApplicationQuitting
	VRApplicationErrorTransitionAborted          EVRApplicationError = 113 // VRApplicationError_TransitionAborted
	VRApplicationErrorIsTemplate                 EVRApplicationError = 114 // VRApplicationError_IsTemplate
	VRApplicationErrorSteamVRIsExiting           EVRApplicationError = 115 // VRApplicationError_SteamVRIsExiting
	VRApplicationErrorWaitingForChaperone        EVRApplicationError = 116 // VRApplicationError_WaitingForChaperone
	VRApplicationErrorBufferTooSmall             EVRApplicationError = 200 // VRApplicationError_BufferTooSmall
	VRApplicationErrorPropertyNotSet             EVRApplicationError = 201 // VRApplicationError_PropertyNotSet
	VRApplicationErrorUnknownProperty            EVRApplicationError = 202 // VRApplicationError_UnknownProperty
	VRApplicationErrorInvalidParameter           EVRApplicationError = 203 // VRApplicationError_InvalidParameter
	VRApplicationErrorNotImplemented             EVRApplicationError = 300 // VRApplicationError_NotImplemented
)

func (EVRApplicationError) Err

func (e EVRApplicationError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRApplicationError) Error

func (e EVRApplicationError) Error() string

Error implements the error interface.

func (EVRApplicationError) String

func (e EVRApplicationError) String() string

String returns the C name of the error code.

type EVRApplicationProperty

type EVRApplicationProperty int32

EVRApplicationProperty is the EVRApplicationProperty enum.

const (
	VRApplicationPropertyNameString                        EVRApplicationProperty = 0  // VRApplicationProperty_Name_String
	VRApplicationPropertyLaunchTypeString                  EVRApplicationProperty = 11 // VRApplicationProperty_LaunchType_String
	VRApplicationPropertyWorkingDirectoryString            EVRApplicationProperty = 12 // VRApplicationProperty_WorkingDirectory_String
	VRApplicationPropertyBinaryPathString                  EVRApplicationProperty = 13 // VRApplicationProperty_BinaryPath_String
	VRApplicationPropertyArgumentsString                   EVRApplicationProperty = 14 // VRApplicationProperty_Arguments_String
	VRApplicationPropertyURLString                         EVRApplicationProperty = 15 // VRApplicationProperty_URL_String
	VRApplicationPropertyDescriptionString                 EVRApplicationProperty = 50 // VRApplicationProperty_Description_String
	VRApplicationPropertyNewsURLString                     EVRApplicationProperty = 51 // VRApplicationProperty_NewsURL_String
	VRApplicationPropertyImagePathString                   EVRApplicationProperty = 52 // VRApplicationProperty_ImagePath_String
	VRApplicationPropertyImagePathCapsuleString            EVRApplicationProperty = 55 // VRApplicationProperty_ImagePathCapsule_String
	VRApplicationPropertySourceString                      EVRApplicationProperty = 53 // VRApplicationProperty_Source_String
	VRApplicationPropertyActionManifestURLString           EVRApplicationProperty = 54 // VRApplicationProperty_ActionManifestURL_String
	VRApplicationPropertyIsDashboardOverlayBool            EVRApplicationProperty = 60 // VRApplicationProperty_IsDashboardOverlay_Bool
	VRApplicationPropertyIsTemplateBool                    EVRApplicationProperty = 61 // VRApplicationProperty_IsTemplate_Bool
	VRApplicationPropertyIsInstancedBool                   EVRApplicationProperty = 62 // VRApplicationProperty_IsInstanced_Bool
	VRApplicationPropertyIsInternalBool                    EVRApplicationProperty = 63 // VRApplicationProperty_IsInternal_Bool
	VRApplicationPropertyWantsCompositorPauseInStandbyBool EVRApplicationProperty = 64 // VRApplicationProperty_WantsCompositorPauseInStandby_Bool
	VRApplicationPropertyIsHiddenBool                      EVRApplicationProperty = 65 // VRApplicationProperty_IsHidden_Bool
	VRApplicationPropertyLastLaunchTimeUint64              EVRApplicationProperty = 70 // VRApplicationProperty_LastLaunchTime_Uint64
)

type EVRApplicationType

type EVRApplicationType int32

EVRApplicationType is the EVRApplicationType enum.

const (
	VRApplicationOther          EVRApplicationType = 0  // VRApplication_Other
	VRApplicationScene          EVRApplicationType = 1  // VRApplication_Scene
	VRApplicationOverlay        EVRApplicationType = 2  // VRApplication_Overlay
	VRApplicationBackground     EVRApplicationType = 3  // VRApplication_Background
	VRApplicationUtility        EVRApplicationType = 4  // VRApplication_Utility
	VRApplicationVRMonitor      EVRApplicationType = 5  // VRApplication_VRMonitor
	VRApplicationSteamWatchdog  EVRApplicationType = 6  // VRApplication_SteamWatchdog
	VRApplicationBootstrapper   EVRApplicationType = 7  // VRApplication_Bootstrapper
	VRApplicationWebHelper      EVRApplicationType = 8  // VRApplication_WebHelper
	VRApplicationOpenXRInstance EVRApplicationType = 9  // VRApplication_OpenXRInstance
	VRApplicationOpenXRScene    EVRApplicationType = 10 // VRApplication_OpenXRScene
	VRApplicationOpenXROverlay  EVRApplicationType = 11 // VRApplication_OpenXROverlay
	VRApplicationPrism          EVRApplicationType = 12 // VRApplication_Prism
	VRApplicationRoomView       EVRApplicationType = 13 // VRApplication_RoomView
	VRApplicationMax            EVRApplicationType = 14 // VRApplication_Max
)

type EVRButtonId

type EVRButtonId int32

EVRButtonId is the EVRButtonId enum.

const (
	ButtonSystem                  EVRButtonId = 0  // k_EButton_System
	ButtonApplicationMenu         EVRButtonId = 1  // k_EButton_ApplicationMenu
	ButtonGrip                    EVRButtonId = 2  // k_EButton_Grip
	ButtonDPadLeft                EVRButtonId = 3  // k_EButton_DPad_Left
	ButtonDPadUp                  EVRButtonId = 4  // k_EButton_DPad_Up
	ButtonDPadRight               EVRButtonId = 5  // k_EButton_DPad_Right
	ButtonDPadDown                EVRButtonId = 6  // k_EButton_DPad_Down
	ButtonA                       EVRButtonId = 7  // k_EButton_A
	ButtonProximitySensor         EVRButtonId = 31 // k_EButton_ProximitySensor
	ButtonAxis0                   EVRButtonId = 32 // k_EButton_Axis0
	ButtonAxis1                   EVRButtonId = 33 // k_EButton_Axis1
	ButtonAxis2                   EVRButtonId = 34 // k_EButton_Axis2
	ButtonAxis3                   EVRButtonId = 35 // k_EButton_Axis3
	ButtonAxis4                   EVRButtonId = 36 // k_EButton_Axis4
	ButtonSteamVRTouchpad         EVRButtonId = 32 // k_EButton_SteamVR_Touchpad
	ButtonSteamVRTrigger          EVRButtonId = 33 // k_EButton_SteamVR_Trigger
	ButtonDashboardBack           EVRButtonId = 2  // k_EButton_Dashboard_Back
	ButtonIndexControllerA        EVRButtonId = 2  // k_EButton_IndexController_A
	ButtonIndexControllerB        EVRButtonId = 1  // k_EButton_IndexController_B
	ButtonIndexControllerJoyStick EVRButtonId = 35 // k_EButton_IndexController_JoyStick
	ButtonReserved0               EVRButtonId = 50 // k_EButton_Reserved0
	ButtonReserved1               EVRButtonId = 51 // k_EButton_Reserved1
	ButtonMax                     EVRButtonId = 64 // k_EButton_Max
)

type EVRComponentProperty

type EVRComponentProperty int32

EVRComponentProperty is the EVRComponentProperty enum.

const (
	VRComponentPropertyIsStatic      EVRComponentProperty = 1  // VRComponentProperty_IsStatic
	VRComponentPropertyIsVisible     EVRComponentProperty = 2  // VRComponentProperty_IsVisible
	VRComponentPropertyIsTouched     EVRComponentProperty = 4  // VRComponentProperty_IsTouched
	VRComponentPropertyIsPressed     EVRComponentProperty = 8  // VRComponentProperty_IsPressed
	VRComponentPropertyIsScrolled    EVRComponentProperty = 16 // VRComponentProperty_IsScrolled
	VRComponentPropertyIsHighlighted EVRComponentProperty = 32 // VRComponentProperty_IsHighlighted
)

type EVRCompositorError

type EVRCompositorError int32

EVRCompositorError is the EVRCompositorError enum.

const (
	VRCompositorErrorNone                         EVRCompositorError = 0   // VRCompositorError_None
	VRCompositorErrorRequestFailed                EVRCompositorError = 1   // VRCompositorError_RequestFailed
	VRCompositorErrorIncompatibleVersion          EVRCompositorError = 100 // VRCompositorError_IncompatibleVersion
	VRCompositorErrorDoNotHaveFocus               EVRCompositorError = 101 // VRCompositorError_DoNotHaveFocus
	VRCompositorErrorInvalidTexture               EVRCompositorError = 102 // VRCompositorError_InvalidTexture
	VRCompositorErrorIsNotSceneApplication        EVRCompositorError = 103 // VRCompositorError_IsNotSceneApplication
	VRCompositorErrorTextureIsOnWrongDevice       EVRCompositorError = 104 // VRCompositorError_TextureIsOnWrongDevice
	VRCompositorErrorTextureUsesUnsupportedFormat EVRCompositorError = 105 // VRCompositorError_TextureUsesUnsupportedFormat
	VRCompositorErrorSharedTexturesNotSupported   EVRCompositorError = 106 // VRCompositorError_SharedTexturesNotSupported
	VRCompositorErrorIndexOutOfRange              EVRCompositorError = 107 // VRCompositorError_IndexOutOfRange
	VRCompositorErrorAlreadySubmitted             EVRCompositorError = 108 // VRCompositorError_AlreadySubmitted
	VRCompositorErrorInvalidBounds                EVRCompositorError = 109 // VRCompositorError_InvalidBounds
	VRCompositorErrorAlreadySet                   EVRCompositorError = 110 // VRCompositorError_AlreadySet
)

func (EVRCompositorError) Err

func (e EVRCompositorError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRCompositorError) Error

func (e EVRCompositorError) Error() string

Error implements the error interface.

func (EVRCompositorError) String

func (e EVRCompositorError) String() string

String returns the C name of the error code.

type EVRCompositorTextureUsage

type EVRCompositorTextureUsage int32

EVRCompositorTextureUsage is the EVRCompositorTextureUsage enum.

const (
	VRCompositorTextureUsageLeft  EVRCompositorTextureUsage = 0 // VRCompositorTextureUsage_Left
	VRCompositorTextureUsageRight EVRCompositorTextureUsage = 1 // VRCompositorTextureUsage_Right
	VRCompositorTextureUsageBoth  EVRCompositorTextureUsage = 2 // VRCompositorTextureUsage_Both
)

type EVRCompositorTimingMode

type EVRCompositorTimingMode int32

EVRCompositorTimingMode is the EVRCompositorTimingMode enum.

const (
	VRCompositorTimingModeImplicit                                      EVRCompositorTimingMode = 0 // VRCompositorTimingMode_Implicit
	VRCompositorTimingModeExplicitRuntimePerformsPostPresentHandoff     EVRCompositorTimingMode = 1 // VRCompositorTimingMode_Explicit_RuntimePerformsPostPresentHandoff
	VRCompositorTimingModeExplicitApplicationPerformsPostPresentHandoff EVRCompositorTimingMode = 2 // VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff
)

type EVRControllerAxisType

type EVRControllerAxisType int32

EVRControllerAxisType is the EVRControllerAxisType enum.

const (
	ControllerAxisNone     EVRControllerAxisType = 0 // k_eControllerAxis_None
	ControllerAxisTrackPad EVRControllerAxisType = 1 // k_eControllerAxis_TrackPad
	ControllerAxisJoystick EVRControllerAxisType = 2 // k_eControllerAxis_Joystick
	ControllerAxisTrigger  EVRControllerAxisType = 3 // k_eControllerAxis_Trigger
)

type EVRControllerEventOutputType

type EVRControllerEventOutputType int32

EVRControllerEventOutputType is the EVRControllerEventOutputType enum.

const (
	ControllerEventOutputOSEvents EVRControllerEventOutputType = 0 // ControllerEventOutput_OSEvents
	ControllerEventOutputVREvents EVRControllerEventOutputType = 1 // ControllerEventOutput_VREvents
)

type EVRDebugError

type EVRDebugError int32

EVRDebugError is the EVRDebugError enum.

const (
	VRDebugErrorSuccess      EVRDebugError = 0 // VRDebugError_Success
	VRDebugErrorBadParameter EVRDebugError = 1 // VRDebugError_BadParameter
)

func (EVRDebugError) Err

func (e EVRDebugError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRDebugError) Error

func (e EVRDebugError) Error() string

Error implements the error interface.

func (EVRDebugError) String

func (e EVRDebugError) String() string

String returns the C name of the error code.

type EVRDistortionChannel

type EVRDistortionChannel int32

EVRDistortionChannel is the EVRDistortionChannel enum.

const (
	Red          EVRDistortionChannel = 0 // Red
	Green        EVRDistortionChannel = 1 // Green
	Blue         EVRDistortionChannel = 2 // Blue
	InverseRed   EVRDistortionChannel = 3 // InverseRed
	InverseGreen EVRDistortionChannel = 4 // InverseGreen
	InverseBlue  EVRDistortionChannel = 5 // InverseBlue
	Count        EVRDistortionChannel = 6 // Count
)

type EVRDistortionFunctionType

type EVRDistortionFunctionType int32

EVRDistortionFunctionType is the EVRDistortionFunctionType enum.

const (
	VRDistortionFunctionTypeNone           EVRDistortionFunctionType = 0 // VRDistortionFunctionType_None
	VRDistortionFunctionTypeFTheta         EVRDistortionFunctionType = 1 // VRDistortionFunctionType_FTheta
	VRDistortionFunctionTypeExtendedFTheta EVRDistortionFunctionType = 2 // VRDistortionFunctionType_Extended_FTheta
	MAXDISTORTIONFUNCTIONTYPES             EVRDistortionFunctionType = 3 // MAX_DISTORTION_FUNCTION_TYPES
)

type EVREventType

type EVREventType int32

EVREventType is the EVREventType enum.

const (
	VREventNone                                      EVREventType = 0     // VREvent_None
	VREventTrackedDeviceActivated                    EVREventType = 100   // VREvent_TrackedDeviceActivated
	VREventTrackedDeviceDeactivated                  EVREventType = 101   // VREvent_TrackedDeviceDeactivated
	VREventTrackedDeviceUpdated                      EVREventType = 102   // VREvent_TrackedDeviceUpdated
	VREventTrackedDeviceUserInteractionStarted       EVREventType = 103   // VREvent_TrackedDeviceUserInteractionStarted
	VREventTrackedDeviceUserInteractionEnded         EVREventType = 104   // VREvent_TrackedDeviceUserInteractionEnded
	VREventIpdChanged                                EVREventType = 105   // VREvent_IpdChanged
	VREventEnterStandbyMode                          EVREventType = 106   // VREvent_EnterStandbyMode
	VREventLeaveStandbyMode                          EVREventType = 107   // VREvent_LeaveStandbyMode
	VREventTrackedDeviceRoleChanged                  EVREventType = 108   // VREvent_TrackedDeviceRoleChanged
	VREventWatchdogWakeUpRequested                   EVREventType = 109   // VREvent_WatchdogWakeUpRequested
	VREventLensDistortionChanged                     EVREventType = 110   // VREvent_LensDistortionChanged
	VREventPropertyChanged                           EVREventType = 111   // VREvent_PropertyChanged
	VREventWirelessDisconnect                        EVREventType = 112   // VREvent_WirelessDisconnect
	VREventWirelessReconnect                         EVREventType = 113   // VREvent_WirelessReconnect
	VREventReserved0114                              EVREventType = 114   // VREvent_Reserved_0114
	VREventReserved0115                              EVREventType = 115   // VREvent_Reserved_0115
	VREventButtonPress                               EVREventType = 200   // VREvent_ButtonPress
	VREventButtonUnpress                             EVREventType = 201   // VREvent_ButtonUnpress
	VREventButtonTouch                               EVREventType = 202   // VREvent_ButtonTouch
	VREventButtonUntouch                             EVREventType = 203   // VREvent_ButtonUntouch
	VREventModalCancel                               EVREventType = 257   // VREvent_Modal_Cancel
	VREventMouseMove                                 EVREventType = 300   // VREvent_MouseMove
	VREventMouseButtonDown                           EVREventType = 301   // VREvent_MouseButtonDown
	VREventMouseButtonUp                             EVREventType = 302   // VREvent_MouseButtonUp
	VREventFocusEnter                                EVREventType = 303   // VREvent_FocusEnter
	VREventFocusLeave                                EVREventType = 304   // VREvent_FocusLeave
	VREventScrollDiscrete                            EVREventType = 305   // VREvent_ScrollDiscrete
	VREventTouchPadMove                              EVREventType = 306   // VREvent_TouchPadMove
	VREventOverlayFocusChanged                       EVREventType = 307   // VREvent_OverlayFocusChanged
	VREventReloadOverlays                            EVREventType = 308   // VREvent_ReloadOverlays
	VREventScrollSmooth                              EVREventType = 309   // VREvent_ScrollSmooth
	VREventLockMousePosition                         EVREventType = 310   // VREvent_LockMousePosition
	VREventUnlockMousePosition                       EVREventType = 311   // VREvent_UnlockMousePosition
	VREventInputFocusCaptured                        EVREventType = 400   // VREvent_InputFocusCaptured
	VREventInputFocusReleased                        EVREventType = 401   // VREvent_InputFocusReleased
	VREventSceneApplicationChanged                   EVREventType = 404   // VREvent_SceneApplicationChanged
	VREventInputFocusChanged                         EVREventType = 406   // VREvent_InputFocusChanged
	VREventSceneApplicationUsingWrongGraphicsAdapter EVREventType = 408   // VREvent_SceneApplicationUsingWrongGraphicsAdapter
	VREventActionBindingReloaded                     EVREventType = 409   // VREvent_ActionBindingReloaded
	VREventHideRenderModels                          EVREventType = 410   // VREvent_HideRenderModels
	VREventShowRenderModels                          EVREventType = 411   // VREvent_ShowRenderModels
	VREventSceneApplicationStateChanged              EVREventType = 412   // VREvent_SceneApplicationStateChanged
	VREventSceneAppPipeDisconnected                  EVREventType = 413   // VREvent_SceneAppPipeDisconnected
	VREventConsoleOpened                             EVREventType = 420   // VREvent_ConsoleOpened
	VREventConsoleClosed                             EVREventType = 421   // VREvent_ConsoleClosed
	VREventOverlayShown                              EVREventType = 500   // VREvent_OverlayShown
	VREventOverlayHidden                             EVREventType = 501   // VREvent_OverlayHidden
	VREventDashboardActivated                        EVREventType = 502   // VREvent_DashboardActivated
	VREventDashboardDeactivated                      EVREventType = 503   // VREvent_DashboardDeactivated
	VREventResetDashboard                            EVREventType = 506   // VREvent_ResetDashboard
	VREventImageLoaded                               EVREventType = 508   // VREvent_ImageLoaded
	VREventShowKeyboard                              EVREventType = 509   // VREvent_ShowKeyboard
	VREventHideKeyboard                              EVREventType = 510   // VREvent_HideKeyboard
	VREventOverlayGamepadFocusGained                 EVREventType = 511   // VREvent_OverlayGamepadFocusGained
	VREventOverlayGamepadFocusLost                   EVREventType = 512   // VREvent_OverlayGamepadFocusLost
	VREventOverlaySharedTextureChanged               EVREventType = 513   // VREvent_OverlaySharedTextureChanged
	VREventScreenshotTriggered                       EVREventType = 516   // VREvent_ScreenshotTriggered
	VREventImageFailed                               EVREventType = 517   // VREvent_ImageFailed
	VREventDashboardOverlayCreated                   EVREventType = 518   // VREvent_DashboardOverlayCreated
	VREventSwitchGamepadFocus                        EVREventType = 519   // VREvent_SwitchGamepadFocus
	VREventRequestScreenshot                         EVREventType = 520   // VREvent_RequestScreenshot
	VREventScreenshotTaken                           EVREventType = 521   // VREvent_ScreenshotTaken
	VREventScreenshotFailed                          EVREventType = 522   // VREvent_ScreenshotFailed
	VREventSubmitScreenshotToDashboard               EVREventType = 523   // VREvent_SubmitScreenshotToDashboard
	VREventScreenshotProgressToDashboard             EVREventType = 524   // VREvent_ScreenshotProgressToDashboard
	VREventPrimaryDashboardDeviceChanged             EVREventType = 525   // VREvent_PrimaryDashboardDeviceChanged
	VREventRoomViewShown                             EVREventType = 526   // VREvent_RoomViewShown
	VREventRoomViewHidden                            EVREventType = 527   // VREvent_RoomViewHidden
	VREventShowUI                                    EVREventType = 528   // VREvent_ShowUI
	VREventShowDevTools                              EVREventType = 529   // VREvent_ShowDevTools
	VREventDesktopViewUpdating                       EVREventType = 530   // VREvent_DesktopViewUpdating
	VREventDesktopViewReady                          EVREventType = 531   // VREvent_DesktopViewReady
	VREventStartDashboard                            EVREventType = 532   // VREvent_StartDashboard
	VREventElevatePrism                              EVREventType = 533   // VREvent_ElevatePrism
	VREventOverlayClosed                             EVREventType = 534   // VREvent_OverlayClosed
	VREventDashboardThumbChanged                     EVREventType = 535   // VREvent_DashboardThumbChanged
	VREventDesktopMightBeVisible                     EVREventType = 536   // VREvent_DesktopMightBeVisible
	VREventDesktopMightBeHidden                      EVREventType = 537   // VREvent_DesktopMightBeHidden
	VREventMutualSteamCapabilitiesChanged            EVREventType = 538   // VREvent_MutualSteamCapabilitiesChanged
	VREventOverlayCreated                            EVREventType = 539   // VREvent_OverlayCreated
	VREventOverlayDestroyed                          EVREventType = 540   // VREvent_OverlayDestroyed
	VREventOverlayNameChanged                        EVREventType = 544   // VREvent_OverlayNameChanged
	VREventTrackingRecordingStarted                  EVREventType = 541   // VREvent_TrackingRecordingStarted
	VREventTrackingRecordingStopped                  EVREventType = 542   // VREvent_TrackingRecordingStopped
	VREventSetTrackingRecordingPath                  EVREventType = 543   // VREvent_SetTrackingRecordingPath
	VREventReserved0560                              EVREventType = 560   // VREvent_Reserved_0560
	VREventReserved0561                              EVREventType = 561   // VREvent_Reserved_0561
	VREventReserved0562                              EVREventType = 562   // VREvent_Reserved_0562
	VREventReserved0563                              EVREventType = 563   // VREvent_Reserved_0563
	VREventNotificationShown                         EVREventType = 600   // VREvent_Notification_Shown
	VREventNotificationHidden                        EVREventType = 601   // VREvent_Notification_Hidden
	VREventNotificationBeginInteraction              EVREventType = 602   // VREvent_Notification_BeginInteraction
	VREventNotificationDestroyed                     EVREventType = 603   // VREvent_Notification_Destroyed
	VREventQuit                                      EVREventType = 700   // VREvent_Quit
	VREventProcessQuit                               EVREventType = 701   // VREvent_ProcessQuit
	VREventQuitAcknowledged                          EVREventType = 703   // VREvent_QuitAcknowledged
	VREventDriverRequestedQuit                       EVREventType = 704   // VREvent_DriverRequestedQuit
	VREventRestartRequested                          EVREventType = 705   // VREvent_RestartRequested
	VREventInvalidateSwapTextureSets                 EVREventType = 706   // VREvent_InvalidateSwapTextureSets
	VREventRequestDisconnectWirelessHMD              EVREventType = 707   // VREvent_RequestDisconnectWirelessHMD
	VREventChaperoneDataHasChanged                   EVREventType = 800   // VREvent_ChaperoneDataHasChanged
	VREventChaperoneUniverseHasChanged               EVREventType = 801   // VREvent_ChaperoneUniverseHasChanged
	VREventChaperoneTempDataHasChanged               EVREventType = 802   // VREvent_ChaperoneTempDataHasChanged
	VREventChaperoneSettingsHaveChanged              EVREventType = 803   // VREvent_ChaperoneSettingsHaveChanged
	VREventSeatedZeroPoseReset                       EVREventType = 804   // VREvent_SeatedZeroPoseReset
	VREventChaperoneFlushCache                       EVREventType = 805   // VREvent_ChaperoneFlushCache
	VREventChaperoneRoomSetupStarting                EVREventType = 806   // VREvent_ChaperoneRoomSetupStarting
	VREventChaperoneRoomSetupCommitted               EVREventType = 807   // VREvent_ChaperoneRoomSetupCommitted
	VREventStandingZeroPoseReset                     EVREventType = 808   // VREvent_StandingZeroPoseReset
	VREventReserved0809                              EVREventType = 809   // VREvent_Reserved_0809
	VREventReserved0810                              EVREventType = 810   // VREvent_Reserved_0810
	VREventReserved0811                              EVREventType = 811   // VREvent_Reserved_0811
	VREventReserved0812                              EVREventType = 812   // VREvent_Reserved_0812
	VREventReserved0813                              EVREventType = 813   // VREvent_Reserved_0813
	VREventReserved0814                              EVREventType = 814   // VREvent_Reserved_0814
	VREventAudioSettingsHaveChanged                  EVREventType = 820   // VREvent_AudioSettingsHaveChanged
	VREventBackgroundSettingHasChanged               EVREventType = 850   // VREvent_BackgroundSettingHasChanged
	VREventCameraSettingsHaveChanged                 EVREventType = 851   // VREvent_CameraSettingsHaveChanged
	VREventReprojectionSettingHasChanged             EVREventType = 852   // VREvent_ReprojectionSettingHasChanged
	VREventModelSkinSettingsHaveChanged              EVREventType = 853   // VREvent_ModelSkinSettingsHaveChanged
	VREventEnvironmentSettingsHaveChanged            EVREventType = 854   // VREvent_EnvironmentSettingsHaveChanged
	VREventPowerSettingsHaveChanged                  EVREventType = 855   // VREvent_PowerSettingsHaveChanged
	VREventEnableHomeAppSettingsHaveChanged          EVREventType = 856   // VREvent_EnableHomeAppSettingsHaveChanged
	VREventSteamVRSectionSettingChanged              EVREventType = 857   // VREvent_SteamVRSectionSettingChanged
	VREventLighthouseSectionSettingChanged           EVREventType = 858   // VREvent_LighthouseSectionSettingChanged
	VREventNullSectionSettingChanged                 EVREventType = 859   // VREvent_NullSectionSettingChanged
	VREventUserInterfaceSectionSettingChanged        EVREventType = 860   // VREvent_UserInterfaceSectionSettingChanged
	VREventNotificationsSectionSettingChanged        EVREventType = 861   // VREvent_NotificationsSectionSettingChanged
	VREventKeyboardSectionSettingChanged             EVREventType = 862   // VREvent_KeyboardSectionSettingChanged
	VREventPerfSectionSettingChanged                 EVREventType = 863   // VREvent_PerfSectionSettingChanged
	VREventDashboardSectionSettingChanged            EVREventType = 864   // VREvent_DashboardSectionSettingChanged
	VREventWebInterfaceSectionSettingChanged         EVREventType = 865   // VREvent_WebInterfaceSectionSettingChanged
	VREventTrackersSectionSettingChanged             EVREventType = 866   // VREvent_TrackersSectionSettingChanged
	VREventLastKnownSectionSettingChanged            EVREventType = 867   // VREvent_LastKnownSectionSettingChanged
	VREventDismissedWarningsSectionSettingChanged    EVREventType = 868   // VREvent_DismissedWarningsSectionSettingChanged
	VREventGpuSpeedSectionSettingChanged             EVREventType = 869   // VREvent_GpuSpeedSectionSettingChanged
	VREventWindowsMRSectionSettingChanged            EVREventType = 870   // VREvent_WindowsMRSectionSettingChanged
	VREventOtherSectionSettingChanged                EVREventType = 871   // VREvent_OtherSectionSettingChanged
	VREventAnyDriverSettingsChanged                  EVREventType = 872   // VREvent_AnyDriverSettingsChanged
	VREventReserved0873                              EVREventType = 873   // VREvent_Reserved_0873
	VREventStatusUpdate                              EVREventType = 900   // VREvent_StatusUpdate
	VREventWebInterfaceInstallDriverCompleted        EVREventType = 950   // VREvent_WebInterface_InstallDriverCompleted
	VREventMCImageUpdated                            EVREventType = 1000  // VREvent_MCImageUpdated
	VREventFirmwareUpdateStarted                     EVREventType = 1100  // VREvent_FirmwareUpdateStarted
	VREventFirmwareUpdateFinished                    EVREventType = 1101  // VREvent_FirmwareUpdateFinished
	VREventKeyboardClosed                            EVREventType = 1200  // VREvent_KeyboardClosed
	VREventKeyboardCharInput                         EVREventType = 1201  // VREvent_KeyboardCharInput
	VREventKeyboardDone                              EVREventType = 1202  // VREvent_KeyboardDone
	VREventKeyboardOpenedGlobal                      EVREventType = 1203  // VREvent_KeyboardOpened_Global
	VREventKeyboardClosedGlobal                      EVREventType = 1204  // VREvent_KeyboardClosed_Global
	VREventApplicationListUpdated                    EVREventType = 1303  // VREvent_ApplicationListUpdated
	VREventApplicationMimeTypeLoad                   EVREventType = 1304  // VREvent_ApplicationMimeTypeLoad
	VREventProcessConnected                          EVREventType = 1306  // VREvent_ProcessConnected
	VREventProcessDisconnected                       EVREventType = 1307  // VREvent_ProcessDisconnected
	VREventCompositorChaperoneBoundsShown            EVREventType = 1410  // VREvent_Compositor_ChaperoneBoundsShown
	VREventCompositorChaperoneBoundsHidden           EVREventType = 1411  // VREvent_Compositor_ChaperoneBoundsHidden
	VREventCompositorDisplayDisconnected             EVREventType = 1412  // VREvent_Compositor_DisplayDisconnected
	VREventCompositorDisplayReconnected              EVREventType = 1413  // VREvent_Compositor_DisplayReconnected
	VREventCompositorHDCPError                       EVREventType = 1414  // VREvent_Compositor_HDCPError
	VREventCompositorApplicationNotResponding        EVREventType = 1415  // VREvent_Compositor_ApplicationNotResponding
	VREventCompositorApplicationResumed              EVREventType = 1416  // VREvent_Compositor_ApplicationResumed
	VREventCompositorOutOfVideoMemory                EVREventType = 1417  // VREvent_Compositor_OutOfVideoMemory
	VREventCompositorDisplayModeNotSupported         EVREventType = 1418  // VREvent_Compositor_DisplayModeNotSupported
	VREventCompositorStageOverrideReady              EVREventType = 1419  // VREvent_Compositor_StageOverrideReady
	VREventCompositorRequestDisconnectReconnect      EVREventType = 1420  // VREvent_Compositor_RequestDisconnectReconnect
	VREventTrackedCameraStartVideoStream             EVREventType = 1500  // VREvent_TrackedCamera_StartVideoStream
	VREventTrackedCameraStopVideoStream              EVREventType = 1501  // VREvent_TrackedCamera_StopVideoStream
	VREventTrackedCameraPauseVideoStream             EVREventType = 1502  // VREvent_TrackedCamera_PauseVideoStream
	VREventTrackedCameraResumeVideoStream            EVREventType = 1503  // VREvent_TrackedCamera_ResumeVideoStream
	VREventTrackedCameraEditingSurface               EVREventType = 1550  // VREvent_TrackedCamera_EditingSurface
	VREventPerformanceTestEnableCapture              EVREventType = 1600  // VREvent_PerformanceTest_EnableCapture
	VREventPerformanceTestDisableCapture             EVREventType = 1601  // VREvent_PerformanceTest_DisableCapture
	VREventPerformanceTestFidelityLevel              EVREventType = 1602  // VREvent_PerformanceTest_FidelityLevel
	VREventMessageOverlayClosed                      EVREventType = 1650  // VREvent_MessageOverlay_Closed
	VREventMessageOverlayCloseRequested              EVREventType = 1651  // VREvent_MessageOverlayCloseRequested
	VREventInputHapticVibration                      EVREventType = 1700  // VREvent_Input_HapticVibration
	VREventInputBindingLoadFailed                    EVREventType = 1701  // VREvent_Input_BindingLoadFailed
	VREventInputBindingLoadSuccessful                EVREventType = 1702  // VREvent_Input_BindingLoadSuccessful
	VREventInputActionManifestReloaded               EVREventType = 1703  // VREvent_Input_ActionManifestReloaded
	VREventInputActionManifestLoadFailed             EVREventType = 1704  // VREvent_Input_ActionManifestLoadFailed
	VREventInputProgressUpdate                       EVREventType = 1705  // VREvent_Input_ProgressUpdate
	VREventInputTrackerActivated                     EVREventType = 1706  // VREvent_Input_TrackerActivated
	VREventInputBindingsUpdated                      EVREventType = 1707  // VREvent_Input_BindingsUpdated
	VREventInputBindingSubscriptionChanged           EVREventType = 1708  // VREvent_Input_BindingSubscriptionChanged
	VREventSpatialAnchorsPoseUpdated                 EVREventType = 1800  // VREvent_SpatialAnchors_PoseUpdated
	VREventSpatialAnchorsDescriptorUpdated           EVREventType = 1801  // VREvent_SpatialAnchors_DescriptorUpdated
	VREventSpatialAnchorsRequestPoseUpdate           EVREventType = 1802  // VREvent_SpatialAnchors_RequestPoseUpdate
	VREventSpatialAnchorsRequestDescriptorUpdate     EVREventType = 1803  // VREvent_SpatialAnchors_RequestDescriptorUpdate
	VREventSystemReportStarted                       EVREventType = 1900  // VREvent_SystemReport_Started
	VREventMonitorShowHeadsetView                    EVREventType = 2000  // VREvent_Monitor_ShowHeadsetView
	VREventMonitorHideHeadsetView                    EVREventType = 2001  // VREvent_Monitor_HideHeadsetView
	VREventAudioSetSpeakersVolume                    EVREventType = 2100  // VREvent_Audio_SetSpeakersVolume
	VREventAudioSetSpeakersMute                      EVREventType = 2101  // VREvent_Audio_SetSpeakersMute
	VREventAudioSetMicrophoneVolume                  EVREventType = 2102  // VREvent_Audio_SetMicrophoneVolume
	VREventAudioSetMicrophoneMute                    EVREventType = 2103  // VREvent_Audio_SetMicrophoneMute
	VREventRenderModelCountChanged                   EVREventType = 2200  // VREvent_RenderModel_CountChanged
	VREventVendorSpecificReservedStart               EVREventType = 10000 // VREvent_VendorSpecific_Reserved_Start
	VREventVendorSpecificReservedEnd                 EVREventType = 19999 // VREvent_VendorSpecific_Reserved_End
)

type EVREye

type EVREye int32

EVREye is the EVREye enum.

const (
	EyeLeft  EVREye = 0 // Eye_Left
	EyeRight EVREye = 1 // Eye_Right
)

type EVRFinger

type EVRFinger int32

EVRFinger is the EVRFinger enum.

const (
	VRFingerThumb  EVRFinger = 0 // VRFinger_Thumb
	VRFingerIndex  EVRFinger = 1 // VRFinger_Index
	VRFingerMiddle EVRFinger = 2 // VRFinger_Middle
	VRFingerRing   EVRFinger = 3 // VRFinger_Ring
	VRFingerPinky  EVRFinger = 4 // VRFinger_Pinky
	VRFingerCount  EVRFinger = 5 // VRFinger_Count
)

type EVRFingerSplay

type EVRFingerSplay int32

EVRFingerSplay is the EVRFingerSplay enum.

const (
	VRFingerSplayThumbIndex  EVRFingerSplay = 0 // VRFingerSplay_Thumb_Index
	VRFingerSplayIndexMiddle EVRFingerSplay = 1 // VRFingerSplay_Index_Middle
	VRFingerSplayMiddleRing  EVRFingerSplay = 2 // VRFingerSplay_Middle_Ring
	VRFingerSplayRingPinky   EVRFingerSplay = 3 // VRFingerSplay_Ring_Pinky
	VRFingerSplayCount       EVRFingerSplay = 4 // VRFingerSplay_Count
)

type EVRFirmwareError

type EVRFirmwareError int32

EVRFirmwareError is the EVRFirmwareError enum.

const (
	VRFirmwareErrorNone    EVRFirmwareError = 0 // VRFirmwareError_None
	VRFirmwareErrorSuccess EVRFirmwareError = 1 // VRFirmwareError_Success
	VRFirmwareErrorFail    EVRFirmwareError = 2 // VRFirmwareError_Fail
)

func (EVRFirmwareError) Err

func (e EVRFirmwareError) Err() error

Err returns nil when e is a success value and e otherwise.

func (EVRFirmwareError) Error

func (e EVRFirmwareError) Error() string

Error implements the error interface.

func (EVRFirmwareError) String

func (e EVRFirmwareError) String() string

String returns the C name of the error code.

type EVRInitError

type EVRInitError int32

EVRInitError is the EVRInitError enum.

const (
	VRInitErrorNone                                                        EVRInitError = 0    // VRInitError_None
	VRInitErrorUnknown                                                     EVRInitError = 1    // VRInitError_Unknown
	VRInitErrorInitInstallationNotFound                                    EVRInitError = 100  // VRInitError_Init_InstallationNotFound
	VRInitErrorInitInstallationCorrupt                                     EVRInitError = 101  // VRInitError_Init_InstallationCorrupt
	VRInitErrorInitVRClientDLLNotFound                                     EVRInitError = 102  // VRInitError_Init_VRClientDLLNotFound
	VRInitErrorInitFileNotFound                                            EVRInitError = 103  // VRInitError_Init_FileNotFound
	VRInitErrorInitFactoryNotFound                                         EVRInitError = 104  // VRInitError_Init_FactoryNotFound
	VRInitErrorInitInterfaceNotFound                                       EVRInitError = 105  // VRInitError_Init_InterfaceNotFound
	VRInitErrorInitInvalidInterface                                        EVRInitError = 106  // VRInitError_Init_InvalidInterface
	VRInitErrorInitUserConfigDirectoryInvalid                              EVRInitError = 107  // VRInitError_Init_UserConfigDirectoryInvalid
	VRInitErrorInitHmdNotFound                                             EVRInitError = 108  // VRInitError_Init_HmdNotFound
	VRInitErrorInitNotInitialized                                          EVRInitError = 109  // VRInitError_Init_NotInitialized
	VRInitErrorInitPathRegistryNotFound                                    EVRInitError = 110  // VRInitError_Init_PathRegistryNotFound
	VRInitErrorInitNoConfigPath                                            EVRInitError = 111  // VRInitError_Init_NoConfigPath
	VRInitErrorInitNoLogPath                                               EVRInitError = 112  // VRInitError_Init_NoLogPath
	VRInitErrorInitPathRegistryNotWritable                                 EVRInitError = 113  // VRInitError_Init_PathRegistryNotWritable
	VRInitErrorInitAppInfoInitFailed                                       EVRInitError = 114  // VRInitError_Init_AppInfoInitFailed
	VRInitErrorInitRetry                                                   EVRInitError = 115  // VRInitError_Init_Retry
	VRInitErrorInitInitCanceledByUser                                      EVRInitError = 116  // VRInitError_Init_InitCanceledByUser
	VRInitErrorInitAnotherAppLaunching                                     EVRInitError = 117  // VRInitError_Init_AnotherAppLaunching
	VRInitErrorInitSettingsInitFailed                                      EVRInitError = 118  // VRInitError_Init_SettingsInitFailed
	VRInitErrorInitShuttingDown                                            EVRInitError = 119  // VRInitError_Init_ShuttingDown
	VRInitErrorInitTooManyObjects                                          EVRInitError = 120  // VRInitError_Init_TooManyObjects
	VRInitErrorInitNoServerForBackgroundApp                                EVRInitError = 121  // VRInitError_Init_NoServerForBackgroundApp
	VRInitErrorInitNotSupportedWithCompositor                              EVRInitError = 122  // VRInitError_Init_NotSupportedWithCompositor
	VRInitErrorInitNotAvailableToUtilityApps                               EVRInitError = 123  // VRInitError_Init_NotAvailableToUtilityApps
	VRInitErrorInitInternal                                                EVRInitError = 124  // VRInitError_Init_Internal
	VRInitErrorInitHmdDriverIdIsNone                                       EVRInitError = 125  // VRInitError_Init_HmdDriverIdIsNone
	VRInitErrorInitHmdNotFoundPresenceFailed                               EVRInitError = 126  // VRInitError_Init_HmdNotFoundPresenceFailed
	VRInitErrorInitVRMonitorNotFound                                       EVRInitError = 127  // VRInitError_Init_VRMonitorNotFound
	VRInitErrorInitVRMonitorStartupFailed                                  EVRInitError = 128  // VRInitError_Init_VRMonitorStartupFailed
	VRInitErrorInitLowPowerWatchdogNotSupported                            EVRInitError = 129  // VRInitError_Init_LowPowerWatchdogNotSupported
	VRInitErrorInitInvalidApplicationType                                  EVRInitError = 130  // VRInitError_Init_InvalidApplicationType
	VRInitErrorInitNotAvailableToWatchdogApps                              EVRInitError = 131  // VRInitError_Init_NotAvailableToWatchdogApps
	VRInitErrorInitWatchdogDisabledInSettings                              EVRInitError = 132  // VRInitError_Init_WatchdogDisabledInSettings
	VRInitErrorInitVRDashboardNotFound                                     EVRInitError = 133  // VRInitError_Init_VRDashboardNotFound
	VRInitErrorInitVRDashboardStartupFailed                                EVRInitError = 134  // VRInitError_Init_VRDashboardStartupFailed
	VRInitErrorInitVRHomeNotFound                                          EVRInitError = 135  // VRInitError_Init_VRHomeNotFound
	VRInitErrorInitVRHomeStartupFailed                                     EVRInitError = 136  // VRInitError_Init_VRHomeStartupFailed
	VRInitErrorInitRebootingBusy                                           EVRInitError = 137  // VRInitError_Init_RebootingBusy
	VRInitErrorInitFirmwareUpdateBusy                                      EVRInitError = 138  // VRInitError_Init_FirmwareUpdateBusy
	VRInitErrorInitFirmwareRecoveryBusy                                    EVRInitError = 139  // VRInitError_Init_FirmwareRecoveryBusy
	VRInitErrorInitUSBServiceBusy                                          EVRInitError = 140  // VRInitError_Init_USBServiceBusy
	VRInitErrorInitVRWebHelperStartupFailed                                EVRInitError = 141  // VRInitError_Init_VRWebHelperStartupFailed
	VRInitErrorInitTrackerManagerInitFailed                                EVRInitError = 142  // VRInitError_Init_TrackerManagerInitFailed
	VRInitErrorInitAlreadyRunning                                          EVRInitError = 143  // VRInitError_Init_AlreadyRunning
	VRInitErrorInitFailedForVrMonitor                                      EVRInitError = 144  // VRInitError_Init_FailedForVrMonitor
	VRInitErrorInitPropertyManagerInitFailed                               EVRInitError = 145  // VRInitError_Init_PropertyManagerInitFailed
	VRInitErrorInitWebServerFailed                                         EVRInitError = 146  // VRInitError_Init_WebServerFailed
	VRInitErrorInitIllegalTypeTransition                                   EVRInitError = 147  // VRInitError_Init_IllegalTypeTransition
	VRInitErrorInitMismatchedRuntimes                                      EVRInitError = 148  // VRInitError_Init_MismatchedRuntimes
	VRInitErrorInitInvalidProcessId                                        EVRInitError = 149  // VRInitError_Init_InvalidProcessId
	VRInitErrorInitVRServiceStartupFailed                                  EVRInitError = 150  // VRInitError_Init_VRServiceStartupFailed
	VRInitErrorInitPrismNeedsNewDrivers                                    EVRInitError = 151  // VRInitError_Init_PrismNeedsNewDrivers
	VRInitErrorInitPrismStartupTimedOut                                    EVRInitError = 152  // VRInitError_Init_PrismStartupTimedOut
	VRInitErrorInitCouldNotStartPrism                                      EVRInitError = 153  // VRInitError_Init_CouldNotStartPrism
	VRInitErrorInitPrismClientInitFailed                                   EVRInitError = 154  // VRInitError_Init_PrismClientInitFailed
	VRInitErrorInitPrismClientStartFailed                                  EVRInitError = 155  // VRInitError_Init_PrismClientStartFailed
	VRInitErrorInitPrismExitedUnexpectedly                                 EVRInitError = 156  // VRInitError_Init_PrismExitedUnexpectedly
	VRInitErrorInitBadLuid                                                 EVRInitError = 157  // VRInitError_Init_BadLuid
	VRInitErrorInitNoServerForAppContainer                                 EVRInitError = 158  // VRInitError_Init_NoServerForAppContainer
	VRInitErrorInitDuplicateBootstrapper                                   EVRInitError = 159  // VRInitError_Init_DuplicateBootstrapper
	VRInitErrorInitVRDashboardServicePending                               EVRInitError = 160  // VRInitError_Init_VRDashboardServicePending
	VRInitErrorInitVRDashboardServiceTimeout                               EVRInitError = 161  // VRInitError_Init_VRDashboardServiceTimeout
	VRInitErrorInitVRDashboardServiceStopped                               EVRInitError = 162  // VRInitError_Init_VRDashboardServiceStopped
	VRInitErrorInitVRDashboardAlreadyStarted                               EVRInitError = 163  // VRInitError_Init_VRDashboardAlreadyStarted
	VRInitErrorInitVRDashboardCopyFailed                                   EVRInitError = 164  // VRInitError_Init_VRDashboardCopyFailed
	VRInitErrorInitVRDashboardTokenFailure                                 EVRInitError = 165  // VRInitError_Init_VRDashboardTokenFailure
	VRInitErrorInitVRDashboardEnvironmentFailure                           EVRInitError = 166  // VRInitError_Init_VRDashboardEnvironmentFailure
	VRInitErrorInitVRDashboardPathFailure                                  EVRInitError = 167  // VRInitError_Init_VRDashboardPathFailure
	VRInitErrorInitInstallationTooOld                                      EVRInitError = 168  // VRInitError_Init_InstallationTooOld
	VRInitErrorInitClientVersionAlreadyProvided                            EVRInitError = 169  // VRInitError_Init_ClientVersionAlreadyProvided
	VRInitErrorDriverFailed                                                EVRInitError = 200  // VRInitError_Driver_Failed
	VRInitErrorDriverUnknown                                               EVRInitError = 201  // VRInitError_Driver_Unknown
	VRInitErrorDriverHmdUnknown                                            EVRInitError = 202  // VRInitError_Driver_HmdUnknown
	VRInitErrorDriverNotLoaded                                             EVRInitError = 203  // VRInitError_Driver_NotLoaded
	VRInitErrorDriverRuntimeOutOfDate                                      EVRInitError = 204  // VRInitError_Driver_RuntimeOutOfDate
	VRInitErrorDriverHmdInUse                                              EVRInitError = 205  // VRInitError_Driver_HmdInUse
	VRInitErrorDriverNotCalibrated                                         EVRInitError = 206  // VRInitError_Driver_NotCalibrated
	VRInitErrorDriverCalibrationInvalid                                    EVRInitError = 207  // VRInitError_Driver_CalibrationInvalid
	VRInitErrorDriverHmdDisplayNotFound                                    EVRInitError = 208  // VRInitError_Driver_HmdDisplayNotFound
	VRInitErrorDriverTrackedDeviceInterfaceUnknown                         EVRInitError = 209  // VRInitError_Driver_TrackedDeviceInterfaceUnknown
	VRInitErrorDriverHmdDriverIdOutOfBounds                                EVRInitError = 211  // VRInitError_Driver_HmdDriverIdOutOfBounds
	VRInitErrorDriverHmdDisplayMirrored                                    EVRInitError = 212  // VRInitError_Driver_HmdDisplayMirrored
	VRInitErrorDriverHmdDisplayNotFoundLaptop                              EVRInitError = 213  // VRInitError_Driver_HmdDisplayNotFoundLaptop
	VRInitErrorDriverPeerDriverNotInstalled                                EVRInitError = 214  // VRInitError_Driver_PeerDriverNotInstalled
	VRInitErrorDriverWirelessHmdNotConnected                               EVRInitError = 215  // VRInitError_Driver_WirelessHmdNotConnected
	VRInitErrorIPCServerInitFailed                                         EVRInitError = 300  // VRInitError_IPC_ServerInitFailed
	VRInitErrorIPCConnectFailed                                            EVRInitError = 301  // VRInitError_IPC_ConnectFailed
	VRInitErrorIPCSharedStateInitFailed                                    EVRInitError = 302  // VRInitError_IPC_SharedStateInitFailed
	VRInitErrorIPCCompositorInitFailed                                     EVRInitError = 303  // VRInitError_IPC_CompositorInitFailed
	VRInitErrorIPCMutexInitFailed                                          EVRInitError = 304  // VRInitError_IPC_MutexInitFailed
	VRInitErrorIPCFailed                                                   EVRInitError = 305  // VRInitError_IPC_Failed
	VRInitErrorIPCCompositorConnectFailed                                  EVRInitError = 306  // VRInitError_IPC_CompositorConnectFailed
	VRInitErrorIPCCompositorInvalidConnectResponse                         EVRInitError = 307  // VRInitError_IPC_CompositorInvalidConnectResponse
	VRInitErrorIPCConnectFailedAfterMultipleAttempts                       EVRInitError = 308  // VRInitError_IPC_ConnectFailedAfterMultipleAttempts
	VRInitErrorIPCConnectFailedAfterTargetExited                           EVRInitError = 309  // VRInitError_IPC_ConnectFailedAfterTargetExited
	VRInitErrorIPCNamespaceUnavailable                                     EVRInitError = 310  // VRInitError_IPC_NamespaceUnavailable
	VRInitErrorCompositorFailed                                            EVRInitError = 400  // VRInitError_Compositor_Failed
	VRInitErrorCompositorD3D11HardwareRequired                             EVRInitError = 401  // VRInitError_Compositor_D3D11HardwareRequired
	VRInitErrorCompositorFirmwareRequiresUpdate                            EVRInitError = 402  // VRInitError_Compositor_FirmwareRequiresUpdate
	VRInitErrorCompositorOverlayInitFailed                                 EVRInitError = 403  // VRInitError_Compositor_OverlayInitFailed
	VRInitErrorCompositorScreenshotsInitFailed                             EVRInitError = 404  // VRInitError_Compositor_ScreenshotsInitFailed
	VRInitErrorCompositorUnableToCreateDevice                              EVRInitError = 405  // VRInitError_Compositor_UnableToCreateDevice
	VRInitErrorCompositorSharedStateIsNull                                 EVRInitError = 406  // VRInitError_Compositor_SharedStateIsNull
	VRInitErrorCompositorNotificationManagerIsNull                         EVRInitError = 407  // VRInitError_Compositor_NotificationManagerIsNull
	VRInitErrorCompositorResourceManagerClientIsNull                       EVRInitError = 408  // VRInitError_Compositor_ResourceManagerClientIsNull
	VRInitErrorCompositorMessageOverlaySharedStateInitFailure              EVRInitError = 409  // VRInitError_Compositor_MessageOverlaySharedStateInitFailure
	VRInitErrorCompositorPropertiesInterfaceIsNull                         EVRInitError = 410  // VRInitError_Compositor_PropertiesInterfaceIsNull
	VRInitErrorCompositorCreateFullscreenWindowFailed                      EVRInitError = 411  // VRInitError_Compositor_CreateFullscreenWindowFailed
	VRInitErrorCompositorSettingsInterfaceIsNull                           EVRInitError = 412  // VRInitError_Compositor_SettingsInterfaceIsNull
	VRInitErrorCompositorFailedToShowWindow                                EVRInitError = 413  // VRInitError_Compositor_FailedToShowWindow
	VRInitErrorCompositorDistortInterfaceIsNull                            EVRInitError = 414  // VRInitError_Compositor_DistortInterfaceIsNull
	VRInitErrorCompositorDisplayFrequencyFailure                           EVRInitError = 415  // VRInitError_Compositor_DisplayFrequencyFailure
	VRInitErrorCompositorRendererInitializationFailed                      EVRInitError = 416  // VRInitError_Compositor_RendererInitializationFailed
	VRInitErrorCompositorDXGIFactoryInterfaceIsNull                        EVRInitError = 417  // VRInitError_Compositor_DXGIFactoryInterfaceIsNull
	VRInitErrorCompositorDXGIFactoryCreateFailed                           EVRInitError = 418  // VRInitError_Compositor_DXGIFactoryCreateFailed
	VRInitErrorCompositorDXGIFactoryQueryFailed                            EVRInitError = 419  // VRInitError_Compositor_DXGIFactoryQueryFailed
	VRInitErrorCompositorInvalidAdapterDesktop                             EVRInitError = 420  // VRInitError_Compositor_InvalidAdapterDesktop
	VRInitErrorCompositorInvalidHmdAttachment                              EVRInitError = 421  // VRInitError_Compositor_InvalidHmdAttachment
	VRInitErrorCompositorInvalidOutputDesktop                              EVRInitError = 422  // VRInitError_Compositor_InvalidOutputDesktop
	VRInitErrorCompositorInvalidDeviceProvided                             EVRInitError = 423  // VRInitError_Compositor_InvalidDeviceProvided
	VRInitErrorCompositorD3D11RendererInitializationFailed                 EVRInitError = 424  // VRInitError_Compositor_D3D11RendererInitializationFailed
	VRInitErrorCompositorFailedToFindDisplayMode                           EVRInitError = 425  // VRInitError_Compositor_FailedToFindDisplayMode
	VRInitErrorCompositorFailedToCreateSwapChain                           EVRInitError = 426  // VRInitError_Compositor_FailedToCreateSwapChain
	VRInitErrorCompositorFailedToGetBackBuffer                             EVRInitError = 427  // VRInitError_Compositor_FailedToGetBackBuffer
	VRInitErrorCompositorFailedToCreateRenderTarget                        EVRInitError = 428  // VRInitError_Compositor_FailedToCreateRenderTarget
	VRInitErrorCompositorFailedToCreateDXGI2SwapChain                      EVRInitError = 429  // VRInitError_Compositor_FailedToCreateDXGI2SwapChain
	VRInitErrorCompositorFailedtoGetDXGI2BackBuffer                        EVRInitError = 430  // VRInitError_Compositor_FailedtoGetDXGI2BackBuffer
	VRInitErrorCompositorFailedToCreateDXGI2RenderTarget                   EVRInitError = 431  // VRInitError_Compositor_FailedToCreateDXGI2RenderTarget
	VRInitErrorCompositorFailedToGetDXGIDeviceInterface                    EVRInitError = 432  // VRInitError_Compositor_FailedToGetDXGIDeviceInterface
	VRInitErrorCompositorSelectDisplayMode                                 EVRInitError = 433  // VRInitError_Compositor_SelectDisplayMode
	VRInitErrorCompositorFailedToCreateNvAPIRenderTargets                  EVRInitError = 434  // VRInitError_Compositor_FailedToCreateNvAPIRenderTargets
	VRInitErrorCompositorNvAPISetDisplayMode                               EVRInitError = 435  // VRInitError_Compositor_NvAPISetDisplayMode
	VRInitErrorCompositorFailedToCreateDirectModeDisplay                   EVRInitError = 436  // VRInitError_Compositor_FailedToCreateDirectModeDisplay
	VRInitErrorCompositorInvalidHmdPropertyContainer                       EVRInitError = 437  // VRInitError_Compositor_InvalidHmdPropertyContainer
	VRInitErrorCompositorUpdateDisplayFrequency                            EVRInitError = 438  // VRInitError_Compositor_UpdateDisplayFrequency
	VRInitErrorCompositorCreateRasterizerState                             EVRInitError = 439  // VRInitError_Compositor_CreateRasterizerState
	VRInitErrorCompositorCreateWireframeRasterizerState                    EVRInitError = 440  // VRInitError_Compositor_CreateWireframeRasterizerState
	VRInitErrorCompositorCreateSamplerState                                EVRInitError = 441  // VRInitError_Compositor_CreateSamplerState
	VRInitErrorCompositorCreateClampToBorderSamplerState                   EVRInitError = 442  // VRInitError_Compositor_CreateClampToBorderSamplerState
	VRInitErrorCompositorCreateAnisoSamplerState                           EVRInitError = 443  // VRInitError_Compositor_CreateAnisoSamplerState
	VRInitErrorCompositorCreateOverlaySamplerState                         EVRInitError = 444  // VRInitError_Compositor_CreateOverlaySamplerState
	VRInitErrorCompositorCreatePanoramaSamplerState                        EVRInitError = 445  // VRInitError_Compositor_CreatePanoramaSamplerState
	VRInitErrorCompositorCreateFontSamplerState                            EVRInitError = 446  // VRInitError_Compositor_CreateFontSamplerState
	VRInitErrorCompositorCreateNoBlendState                                EVRInitError = 447  // VRInitError_Compositor_CreateNoBlendState
	VRInitErrorCompositorCreateBlendState                                  EVRInitError = 448  // VRInitError_Compositor_CreateBlendState
	VRInitErrorCompositorCreateAlphaBlendState                             EVRInitError = 449  // VRInitError_Compositor_CreateAlphaBlendState
	VRInitErrorCompositorCreateBlendStateMaskR                             EVRInitError = 450  // VRInitError_Compositor_CreateBlendStateMaskR
	VRInitErrorCompositorCreateBlendStateMaskG                             EVRInitError = 451  // VRInitError_Compositor_CreateBlendStateMaskG
	VRInitErrorCompositorCreateBlendStateMaskB                             EVRInitError = 452  // VRInitError_Compositor_CreateBlendStateMaskB
	VRInitErrorCompositorCreateDepthStencilState                           EVRInitError = 453  // VRInitError_Compositor_CreateDepthStencilState
	VRInitErrorCompositorCreateDepthStencilStateNoWrite                    EVRInitError = 454  // VRInitError_Compositor_CreateDepthStencilStateNoWrite
	VRInitErrorCompositorCreateDepthStencilStateNoDepth                    EVRInitError = 455  // VRInitError_Compositor_CreateDepthStencilStateNoDepth
	VRInitErrorCompositorCreateFlushTexture                                EVRInitError = 456  // VRInitError_Compositor_CreateFlushTexture
	VRInitErrorCompositorCreateDistortionSurfaces                          EVRInitError = 457  // VRInitError_Compositor_CreateDistortionSurfaces
	VRInitErrorCompositorCreateConstantBuffer                              EVRInitError = 458  // VRInitError_Compositor_CreateConstantBuffer
	VRInitErrorCompositorCreateHmdPoseConstantBuffer                       EVRInitError = 459  // VRInitError_Compositor_CreateHmdPoseConstantBuffer
	VRInitErrorCompositorCreateHmdPoseStagingConstantBuffer                EVRInitError = 460  // VRInitError_Compositor_CreateHmdPoseStagingConstantBuffer
	VRInitErrorCompositorCreateSharedFrameInfoConstantBuffer               EVRInitError = 461  // VRInitError_Compositor_CreateSharedFrameInfoConstantBuffer
	VRInitErrorCompositorCreateOverlayConstantBuffer                       EVRInitError = 462  // VRInitError_Compositor_CreateOverlayConstantBuffer
	VRInitErrorCompositorCreateSceneTextureIndexConstantBuffer             EVRInitError = 463  // VRInitError_Compositor_CreateSceneTextureIndexConstantBuffer
	VRInitErrorCompositorCreateReadableSceneTextureIndexConstantBuffer     EVRInitError = 464  // VRInitError_Compositor_CreateReadableSceneTextureIndexConstantBuffer
	VRInitErrorCompositorCreateLayerGraphicsTextureIndexConstantBuffer     EVRInitError = 465  // VRInitError_Compositor_CreateLayerGraphicsTextureIndexConstantBuffer
	VRInitErrorCompositorCreateLayerComputeTextureIndexConstantBuffer      EVRInitError = 466  // VRInitError_Compositor_CreateLayerComputeTextureIndexConstantBuffer
	VRInitErrorCompositorCreateLayerComputeSceneTextureIndexConstantBuffer EVRInitError = 467  // VRInitError_Compositor_CreateLayerComputeSceneTextureIndexConstantBuffer
	VRInitErrorCompositorCreateComputeHmdPoseConstantBuffer                EVRInitError = 468  // VRInitError_Compositor_CreateComputeHmdPoseConstantBuffer
	VRInitErrorCompositorCreateGeomConstantBuffer                          EVRInitError = 469  // VRInitError_Compositor_CreateGeomConstantBuffer
	VRInitErrorCompositorCreatePanelMaskConstantBuffer                     EVRInitError = 470  // VRInitError_Compositor_CreatePanelMaskConstantBuffer
	VRInitErrorCompositorCreatePixelSimUBO                                 EVRInitError = 471  // VRInitError_Compositor_CreatePixelSimUBO
	VRInitErrorCompositorCreateMSAARenderTextures                          EVRInitError = 472  // VRInitError_Compositor_CreateMSAARenderTextures
	VRInitErrorCompositorCreateResolveRenderTextures                       EVRInitError = 473  // VRInitError_Compositor_CreateResolveRenderTextures
	VRInitErrorCompositorCreateComputeResolveRenderTextures                EVRInitError = 474  // VRInitError_Compositor_CreateComputeResolveRenderTextures
	VRInitErrorCompositorCreateDriverDirectModeResolveTextures             EVRInitError = 475  // VRInitError_Compositor_CreateDriverDirectModeResolveTextures
	VRInitErrorCompositorOpenDriverDirectModeResolveTextures               EVRInitError = 476  // VRInitError_Compositor_OpenDriverDirectModeResolveTextures
	VRInitErrorCompositorCreateFallbackSyncTexture                         EVRInitError = 477  // VRInitError_Compositor_CreateFallbackSyncTexture
	VRInitErrorCompositorShareFallbackSyncTexture                          EVRInitError = 478  // VRInitError_Compositor_ShareFallbackSyncTexture
	VRInitErrorCompositorCreateOverlayIndexBuffer                          EVRInitError = 479  // VRInitError_Compositor_CreateOverlayIndexBuffer
	VRInitErrorCompositorCreateOverlayVertexBuffer                         EVRInitError = 480  // VRInitError_Compositor_CreateOverlayVertexBuffer
	VRInitErrorCompositorCreateTextVertexBuffer                            EVRInitError = 481  // VRInitError_Compositor_CreateTextVertexBuffer
	VRInitErrorCompositorCreateTextIndexBuffer                             EVRInitError = 482  // VRInitError_Compositor_CreateTextIndexBuffer
	VRInitErrorCompositorCreateMirrorTextures                              EVRInitError = 483  // VRInitError_Compositor_CreateMirrorTextures
	VRInitErrorCompositorCreateLastFrameRenderTexture                      EVRInitError = 484  // VRInitError_Compositor_CreateLastFrameRenderTexture
	VRInitErrorCompositorCreateMirrorOverlay                               EVRInitError = 485  // VRInitError_Compositor_CreateMirrorOverlay
	VRInitErrorCompositorFailedToCreateVirtualDisplayBackbuffer            EVRInitError = 486  // VRInitError_Compositor_FailedToCreateVirtualDisplayBackbuffer
	VRInitErrorCompositorDisplayModeNotSupported                           EVRInitError = 487  // VRInitError_Compositor_DisplayModeNotSupported
	VRInitErrorCompositorCreateOverlayInvalidCall                          EVRInitError = 488  // VRInitError_Compositor_CreateOverlayInvalidCall
	VRInitErrorCompositorCreateOverlayAlreadyInitialized                   EVRInitError = 489  // VRInitError_Compositor_CreateOverlayAlreadyInitialized
	VRInitErrorCompositorFailedToCreateMailbox                             EVRInitError = 490  // VRInitError_Compositor_FailedToCreateMailbox
	VRInitErrorCompositorWindowInterfaceIsNull                             EVRInitError = 491  // VRInitError_Compositor_WindowInterfaceIsNull
	VRInitErrorCompositorSystemLayerCreateInstance                         EVRInitError = 492  // VRInitError_Compositor_SystemLayerCreateInstance
	VRInitErrorCompositorSystemLayerCreateSession                          EVRInitError = 493  // VRInitError_Compositor_SystemLayerCreateSession
	VRInitErrorCompositorCreateInverseDistortUVs                           EVRInitError = 494  // VRInitError_Compositor_CreateInverseDistortUVs
	VRInitErrorCompositorCreateBackbufferDepth                             EVRInitError = 495  // VRInitError_Compositor_CreateBackbufferDepth
	VRInitErrorCompositorCannotDRMLeaseDisplay                             EVRInitError = 496  // VRInitError_Compositor_CannotDRMLeaseDisplay
	VRInitErrorCompositorCannotConnectToDisplayServer                      EVRInitError = 497  // VRInitError_Compositor_CannotConnectToDisplayServer
	VRInitErrorCompositorGnomeNoDRMLeasing                                 EVRInitError = 498  // VRInitError_Compositor_GnomeNoDRMLeasing
	VRInitErrorCompositorFailedToInitializeEncoder                         EVRInitError = 499  // VRInitError_Compositor_FailedToInitializeEncoder
	VRInitErrorCompositorCreateBlurTexture                                 EVRInitError = 500  // VRInitError_Compositor_CreateBlurTexture
	VRInitErrorVendorSpecificUnableToConnectToOculusRuntime                EVRInitError = 1000 // VRInitError_VendorSpecific_UnableToConnectToOculusRuntime
	VRInitErrorVendorSpecificWindowsNotInDevMode                           EVRInitError = 1001 // VRInitError_VendorSpecific_WindowsNotInDevMode
	VRInitErrorVendorSpecificOculusLinkNotEnabled                          EVRInitError = 1002 // VRInitError_VendorSpecific_OculusLinkNotEnabled
	VRInitErrorVendorSpecificHmdFoundCantOpenDevice                        EVRInitError = 1101 // VRInitError_VendorSpecific_HmdFound_CantOpenDevice
	VRInitErrorVendorSpecificHmdFoundUnableToRequestConfigStart            EVRInitError = 1102 // VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart
	VRInitErrorVendorSpecificHmdFoundNoStoredConfig                        EVRInitError = 1103 // VRInitError_VendorSpecific_HmdFound_NoStoredConfig
	VRInitErrorVendorSpecificHmdFoundConfigTooBig                          EVRInitError = 1104 // VRInitError_VendorSpecific_HmdFound_ConfigTooBig
	VRInitErrorVendorSpecificHmdFoundConfigTooSmall                        EVRInitError = 1105 // VRInitError_VendorSpecific_HmdFound_ConfigTooSmall
	VRInitErrorVendorSpecificHmdFoundUnableToInitZLib                      EVRInitError = 1106 // VRInitError_VendorSpecific_HmdFound_UnableToInitZLib
	VRInitErrorVendorSpecificHmdFoundCantReadFirmwareVersion               EVRInitError = 1107 // VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion
	VRInitErrorVendorSpecificHmdFoundUnableToSendUserDataStart             EVRInitError = 1108 // VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart
	VRInitErrorVendorSpecificHmdFoundUnableToGetUserDataStart              EVRInitError = 1109 // VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart
	VRInitErrorVendorSpecificHmdFoundUnableToGetUserDataNext               EVRInitError = 1110 // VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext
	VRInitErrorVendorSpecificHmdFoundUserDataAddressRange                  EVRInitError = 1111 // VRInitError_VendorSpecific_HmdFound_UserDataAddressRange
	VRInitErrorVendorSpecificHmdFoundUserDataError                         EVRInitError = 1112 // VRInitError_VendorSpecific_HmdFound_UserDataError
	VRInitErrorVendorSpecificHmdFoundConfigFailedSanityCheck               EVRInitError = 1113 // VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck
	VRInitErrorVendorSpecificOculusRuntimeBadInstall                       EVRInitError = 1114 // VRInitError_VendorSpecific_OculusRuntimeBadInstall
	VRInitErrorVendorSpecificHmdFoundUnexpectedConfiguration1              EVRInitError = 1115 // VRInitError_VendorSpecific_HmdFound_UnexpectedConfiguration_1
	VRInitErrorVendorSpecificOasisUnlockRequired                           EVRInitError = 1150 // VRInitError_VendorSpecific_Oasis_UnlockRequired
	VRInitErrorVendorSpecificVRLinkOutdatedDriverMESA                      EVRInitError = 1200 // VRInitError_VendorSpecific_VRLink_OutdatedDriverMESA
	VRInitErrorVendorSpecificVRLinkOutdatedDriverNVIDIA                    EVRInitError = 1201 // VRInitError_VendorSpecific_VRLink_OutdatedDriverNVIDIA
	VRInitErrorVendorSpecificVRLinkNoVideoSupport                          EVRInitError = 1202 // VRInitError_VendorSpecific_VRLink_NoVideoSupport
	VRInitErrorSteamSteamInstallationNotFound                              EVRInitError = 2000 // VRInitError_Steam_SteamInstallationNotFound
	VRInitErrorLastError                                                   EVRInitError = 2001 // VRInitError_LastError
)

func (EVRInitError) Err

func (e EVRInitError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRInitError) Error

func (e EVRInitError) Error() string

Error implements the error interface.

func (EVRInitError) String

func (e EVRInitError) String() string

String returns the C name of the error code.

type EVRInputError

type EVRInputError int32

EVRInputError is the EVRInputError enum.

const (
	VRInputErrorNone                     EVRInputError = 0  // VRInputError_None
	VRInputErrorNameNotFound             EVRInputError = 1  // VRInputError_NameNotFound
	VRInputErrorWrongType                EVRInputError = 2  // VRInputError_WrongType
	VRInputErrorInvalidHandle            EVRInputError = 3  // VRInputError_InvalidHandle
	VRInputErrorInvalidParam             EVRInputError = 4  // VRInputError_InvalidParam
	VRInputErrorNoSteam                  EVRInputError = 5  // VRInputError_NoSteam
	VRInputErrorMaxCapacityReached       EVRInputError = 6  // VRInputError_MaxCapacityReached
	VRInputErrorIPCError                 EVRInputError = 7  // VRInputError_IPCError
	VRInputErrorNoActiveActionSet        EVRInputError = 8  // VRInputError_NoActiveActionSet
	VRInputErrorInvalidDevice            EVRInputError = 9  // VRInputError_InvalidDevice
	VRInputErrorInvalidSkeleton          EVRInputError = 10 // VRInputError_InvalidSkeleton
	VRInputErrorInvalidBoneCount         EVRInputError = 11 // VRInputError_InvalidBoneCount
	VRInputErrorInvalidCompressedData    EVRInputError = 12 // VRInputError_InvalidCompressedData
	VRInputErrorNoData                   EVRInputError = 13 // VRInputError_NoData
	VRInputErrorBufferTooSmall           EVRInputError = 14 // VRInputError_BufferTooSmall
	VRInputErrorMismatchedActionManifest EVRInputError = 15 // VRInputError_MismatchedActionManifest
	VRInputErrorMissingSkeletonData      EVRInputError = 16 // VRInputError_MissingSkeletonData
	VRInputErrorInvalidBoneIndex         EVRInputError = 17 // VRInputError_InvalidBoneIndex
	VRInputErrorInvalidPriority          EVRInputError = 18 // VRInputError_InvalidPriority
	VRInputErrorPermissionDenied         EVRInputError = 19 // VRInputError_PermissionDenied
	VRInputErrorInvalidRenderModel       EVRInputError = 20 // VRInputError_InvalidRenderModel
)

func (EVRInputError) Err

func (e EVRInputError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRInputError) Error

func (e EVRInputError) Error() string

Error implements the error interface.

func (EVRInputError) String

func (e EVRInputError) String() string

String returns the C name of the error code.

type EVRInputFilterCancelType

type EVRInputFilterCancelType int32

EVRInputFilterCancelType is the EVRInputFilterCancelType enum.

const (
	VRInputFilterCancelTimers   EVRInputFilterCancelType = 0 // VRInputFilterCancel_Timers
	VRInputFilterCancelMomentum EVRInputFilterCancelType = 1 // VRInputFilterCancel_Momentum
)

type EVRInputStringBits

type EVRInputStringBits int32

EVRInputStringBits is the EVRInputStringBits enum.

const (
	VRInputStringHand           EVRInputStringBits = 1  // VRInputString_Hand
	VRInputStringControllerType EVRInputStringBits = 2  // VRInputString_ControllerType
	VRInputStringInputSource    EVRInputStringBits = 4  // VRInputString_InputSource
	VRInputStringAll            EVRInputStringBits = -1 // VRInputString_All
)

type EVRMouseButton

type EVRMouseButton int32

EVRMouseButton is the EVRMouseButton enum.

const (
	VRMouseButtonLeft   EVRMouseButton = 1 // VRMouseButton_Left
	VRMouseButtonRight  EVRMouseButton = 2 // VRMouseButton_Right
	VRMouseButtonMiddle EVRMouseButton = 4 // VRMouseButton_Middle
)

type EVRMuraCorrectionMode

type EVRMuraCorrectionMode int32

EVRMuraCorrectionMode is the EVRMuraCorrectionMode enum.

const (
	EVRMuraCorrectionModeDefault      EVRMuraCorrectionMode = 0 // EVRMuraCorrectionMode_Default
	EVRMuraCorrectionModeNoCorrection EVRMuraCorrectionMode = 1 // EVRMuraCorrectionMode_NoCorrection
)

type EVRNotificationError

type EVRNotificationError int32

EVRNotificationError is the EVRNotificationError enum.

const (
	VRNotificationErrorOK                               EVRNotificationError = 0   // VRNotificationError_OK
	VRNotificationErrorInvalidNotificationId            EVRNotificationError = 100 // VRNotificationError_InvalidNotificationId
	VRNotificationErrorNotificationQueueFull            EVRNotificationError = 101 // VRNotificationError_NotificationQueueFull
	VRNotificationErrorInvalidOverlayHandle             EVRNotificationError = 102 // VRNotificationError_InvalidOverlayHandle
	VRNotificationErrorSystemWithUserValueAlreadyExists EVRNotificationError = 103 // VRNotificationError_SystemWithUserValueAlreadyExists
	VRNotificationErrorServiceUnavailable               EVRNotificationError = 104 // VRNotificationError_ServiceUnavailable
)

func (EVRNotificationError) Err

func (e EVRNotificationError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRNotificationError) Error

func (e EVRNotificationError) Error() string

Error implements the error interface.

func (EVRNotificationError) String

func (e EVRNotificationError) String() string

String returns the C name of the error code.

type EVRNotificationStyle

type EVRNotificationStyle int32

EVRNotificationStyle is the EVRNotificationStyle enum.

const (
	EVRNotificationStyleNone            EVRNotificationStyle = 0   // EVRNotificationStyle_None
	EVRNotificationStyleApplication     EVRNotificationStyle = 100 // EVRNotificationStyle_Application
	EVRNotificationStyleContactDisabled EVRNotificationStyle = 200 // EVRNotificationStyle_Contact_Disabled
	EVRNotificationStyleContactEnabled  EVRNotificationStyle = 201 // EVRNotificationStyle_Contact_Enabled
	EVRNotificationStyleContactActive   EVRNotificationStyle = 202 // EVRNotificationStyle_Contact_Active
)

type EVRNotificationType

type EVRNotificationType int32

EVRNotificationType is the EVRNotificationType enum.

const (
	EVRNotificationTypeTransient                    EVRNotificationType = 0 // EVRNotificationType_Transient
	EVRNotificationTypePersistent                   EVRNotificationType = 1 // EVRNotificationType_Persistent
	EVRNotificationTypeTransientSystemWithUserValue EVRNotificationType = 2 // EVRNotificationType_Transient_SystemWithUserValue
)

type EVROverlayError

type EVROverlayError int32

EVROverlayError is the EVROverlayError enum.

const (
	VROverlayErrorNone                       EVROverlayError = 0  // VROverlayError_None
	VROverlayErrorUnknownOverlay             EVROverlayError = 10 // VROverlayError_UnknownOverlay
	VROverlayErrorInvalidHandle              EVROverlayError = 11 // VROverlayError_InvalidHandle
	VROverlayErrorPermissionDenied           EVROverlayError = 12 // VROverlayError_PermissionDenied
	VROverlayErrorOverlayLimitExceeded       EVROverlayError = 13 // VROverlayError_OverlayLimitExceeded
	VROverlayErrorWrongVisibilityType        EVROverlayError = 14 // VROverlayError_WrongVisibilityType
	VROverlayErrorKeyTooLong                 EVROverlayError = 15 // VROverlayError_KeyTooLong
	VROverlayErrorNameTooLong                EVROverlayError = 16 // VROverlayError_NameTooLong
	VROverlayErrorKeyInUse                   EVROverlayError = 17 // VROverlayError_KeyInUse
	VROverlayErrorWrongTransformType         EVROverlayError = 18 // VROverlayError_WrongTransformType
	VROverlayErrorInvalidTrackedDevice       EVROverlayError = 19 // VROverlayError_InvalidTrackedDevice
	VROverlayErrorInvalidParameter           EVROverlayError = 20 // VROverlayError_InvalidParameter
	VROverlayErrorThumbnailCantBeDestroyed   EVROverlayError = 21 // VROverlayError_ThumbnailCantBeDestroyed
	VROverlayErrorArrayTooSmall              EVROverlayError = 22 // VROverlayError_ArrayTooSmall
	VROverlayErrorRequestFailed              EVROverlayError = 23 // VROverlayError_RequestFailed
	VROverlayErrorInvalidTexture             EVROverlayError = 24 // VROverlayError_InvalidTexture
	VROverlayErrorUnableToLoadFile           EVROverlayError = 25 // VROverlayError_UnableToLoadFile
	VROverlayErrorKeyboardAlreadyInUse       EVROverlayError = 26 // VROverlayError_KeyboardAlreadyInUse
	VROverlayErrorNoNeighbor                 EVROverlayError = 27 // VROverlayError_NoNeighbor
	VROverlayErrorTooManyMaskPrimitives      EVROverlayError = 29 // VROverlayError_TooManyMaskPrimitives
	VROverlayErrorBadMaskPrimitive           EVROverlayError = 30 // VROverlayError_BadMaskPrimitive
	VROverlayErrorTextureAlreadyLocked       EVROverlayError = 31 // VROverlayError_TextureAlreadyLocked
	VROverlayErrorTextureLockCapacityReached EVROverlayError = 32 // VROverlayError_TextureLockCapacityReached
	VROverlayErrorTextureNotLocked           EVROverlayError = 33 // VROverlayError_TextureNotLocked
	VROverlayErrorTimedOut                   EVROverlayError = 34 // VROverlayError_TimedOut
)

func (EVROverlayError) Err

func (e EVROverlayError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVROverlayError) Error

func (e EVROverlayError) Error() string

Error implements the error interface.

func (EVROverlayError) String

func (e EVROverlayError) String() string

String returns the C name of the error code.

type EVROverlayIntersectionMaskPrimitiveType

type EVROverlayIntersectionMaskPrimitiveType int32

EVROverlayIntersectionMaskPrimitiveType is the EVROverlayIntersectionMaskPrimitiveType enum.

const (
	OverlayIntersectionPrimitiveTypeRectangle EVROverlayIntersectionMaskPrimitiveType = 0 // OverlayIntersectionPrimitiveType_Rectangle
	OverlayIntersectionPrimitiveTypeCircle    EVROverlayIntersectionMaskPrimitiveType = 1 // OverlayIntersectionPrimitiveType_Circle
)

type EVRRenderModelError

type EVRRenderModelError int32

EVRRenderModelError is the EVRRenderModelError enum.

const (
	VRRenderModelErrorNone               EVRRenderModelError = 0   // VRRenderModelError_None
	VRRenderModelErrorLoading            EVRRenderModelError = 100 // VRRenderModelError_Loading
	VRRenderModelErrorNotSupported       EVRRenderModelError = 200 // VRRenderModelError_NotSupported
	VRRenderModelErrorInvalidArg         EVRRenderModelError = 300 // VRRenderModelError_InvalidArg
	VRRenderModelErrorInvalidModel       EVRRenderModelError = 301 // VRRenderModelError_InvalidModel
	VRRenderModelErrorNoShapes           EVRRenderModelError = 302 // VRRenderModelError_NoShapes
	VRRenderModelErrorMultipleShapes     EVRRenderModelError = 303 // VRRenderModelError_MultipleShapes
	VRRenderModelErrorTooManyVertices    EVRRenderModelError = 304 // VRRenderModelError_TooManyVertices
	VRRenderModelErrorMultipleTextures   EVRRenderModelError = 305 // VRRenderModelError_MultipleTextures
	VRRenderModelErrorBufferTooSmall     EVRRenderModelError = 306 // VRRenderModelError_BufferTooSmall
	VRRenderModelErrorNotEnoughNormals   EVRRenderModelError = 307 // VRRenderModelError_NotEnoughNormals
	VRRenderModelErrorNotEnoughTexCoords EVRRenderModelError = 308 // VRRenderModelError_NotEnoughTexCoords
	VRRenderModelErrorInvalidTexture     EVRRenderModelError = 400 // VRRenderModelError_InvalidTexture
)

func (EVRRenderModelError) Err

func (e EVRRenderModelError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRRenderModelError) Error

func (e EVRRenderModelError) Error() string

Error implements the error interface.

func (EVRRenderModelError) String

func (e EVRRenderModelError) String() string

String returns the C name of the error code.

type EVRRenderModelTextureFormat

type EVRRenderModelTextureFormat int32

EVRRenderModelTextureFormat is the EVRRenderModelTextureFormat enum.

const (
	VRRenderModelTextureFormatRGBA8SRGB   EVRRenderModelTextureFormat = 0 // VRRenderModelTextureFormat_RGBA8_SRGB
	VRRenderModelTextureFormatBC2         EVRRenderModelTextureFormat = 1 // VRRenderModelTextureFormat_BC2
	VRRenderModelTextureFormatBC4         EVRRenderModelTextureFormat = 2 // VRRenderModelTextureFormat_BC4
	VRRenderModelTextureFormatBC7         EVRRenderModelTextureFormat = 3 // VRRenderModelTextureFormat_BC7
	VRRenderModelTextureFormatBC7SRGB     EVRRenderModelTextureFormat = 4 // VRRenderModelTextureFormat_BC7_SRGB
	VRRenderModelTextureFormatRGBA16FLOAT EVRRenderModelTextureFormat = 5 // VRRenderModelTextureFormat_RGBA16_FLOAT
)

type EVRSceneApplicationState

type EVRSceneApplicationState int32

EVRSceneApplicationState is the EVRSceneApplicationState enum.

const (
	EVRSceneApplicationStateNone     EVRSceneApplicationState = 0 // EVRSceneApplicationState_None
	EVRSceneApplicationStateStarting EVRSceneApplicationState = 1 // EVRSceneApplicationState_Starting
	EVRSceneApplicationStateQuitting EVRSceneApplicationState = 2 // EVRSceneApplicationState_Quitting
	EVRSceneApplicationStateRunning  EVRSceneApplicationState = 3 // EVRSceneApplicationState_Running
	EVRSceneApplicationStateWaiting  EVRSceneApplicationState = 4 // EVRSceneApplicationState_Waiting
)

type EVRScreenshotError

type EVRScreenshotError int32

EVRScreenshotError is the EVRScreenshotError enum.

const (
	VRScreenshotErrorNone                        EVRScreenshotError = 0   // VRScreenshotError_None
	VRScreenshotErrorRequestFailed               EVRScreenshotError = 1   // VRScreenshotError_RequestFailed
	VRScreenshotErrorIncompatibleVersion         EVRScreenshotError = 100 // VRScreenshotError_IncompatibleVersion
	VRScreenshotErrorNotFound                    EVRScreenshotError = 101 // VRScreenshotError_NotFound
	VRScreenshotErrorBufferTooSmall              EVRScreenshotError = 102 // VRScreenshotError_BufferTooSmall
	VRScreenshotErrorScreenshotAlreadyInProgress EVRScreenshotError = 108 // VRScreenshotError_ScreenshotAlreadyInProgress
)

func (EVRScreenshotError) Err

func (e EVRScreenshotError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRScreenshotError) Error

func (e EVRScreenshotError) Error() string

Error implements the error interface.

func (EVRScreenshotError) String

func (e EVRScreenshotError) String() string

String returns the C name of the error code.

type EVRScreenshotPropertyFilenames

type EVRScreenshotPropertyFilenames int32

EVRScreenshotPropertyFilenames is the EVRScreenshotPropertyFilenames enum.

const (
	VRScreenshotPropertyFilenamesPreview EVRScreenshotPropertyFilenames = 0 // VRScreenshotPropertyFilenames_Preview
	VRScreenshotPropertyFilenamesVR      EVRScreenshotPropertyFilenames = 1 // VRScreenshotPropertyFilenames_VR
)

type EVRScreenshotType

type EVRScreenshotType int32

EVRScreenshotType is the EVRScreenshotType enum.

const (
	VRScreenshotTypeNone           EVRScreenshotType = 0 // VRScreenshotType_None
	VRScreenshotTypeMono           EVRScreenshotType = 1 // VRScreenshotType_Mono
	VRScreenshotTypeStereo         EVRScreenshotType = 2 // VRScreenshotType_Stereo
	VRScreenshotTypeCubemap        EVRScreenshotType = 3 // VRScreenshotType_Cubemap
	VRScreenshotTypeMonoPanorama   EVRScreenshotType = 4 // VRScreenshotType_MonoPanorama
	VRScreenshotTypeStereoPanorama EVRScreenshotType = 5 // VRScreenshotType_StereoPanorama
)

type EVRSettingsError

type EVRSettingsError int32

EVRSettingsError is the EVRSettingsError enum.

const (
	VRSettingsErrorNone                     EVRSettingsError = 0 // VRSettingsError_None
	VRSettingsErrorIPCFailed                EVRSettingsError = 1 // VRSettingsError_IPCFailed
	VRSettingsErrorWriteFailed              EVRSettingsError = 2 // VRSettingsError_WriteFailed
	VRSettingsErrorReadFailed               EVRSettingsError = 3 // VRSettingsError_ReadFailed
	VRSettingsErrorJsonParseFailed          EVRSettingsError = 4 // VRSettingsError_JsonParseFailed
	VRSettingsErrorUnsetSettingHasNoDefault EVRSettingsError = 5 // VRSettingsError_UnsetSettingHasNoDefault
	VRSettingsErrorAccessDenied             EVRSettingsError = 6 // VRSettingsError_AccessDenied
)

func (EVRSettingsError) Err

func (e EVRSettingsError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRSettingsError) Error

func (e EVRSettingsError) Error() string

Error implements the error interface.

func (EVRSettingsError) String

func (e EVRSettingsError) String() string

String returns the C name of the error code.

type EVRSkeletalMotionRange

type EVRSkeletalMotionRange int32

EVRSkeletalMotionRange is the EVRSkeletalMotionRange enum.

const (
	VRSkeletalMotionRangeWithController    EVRSkeletalMotionRange = 0 // VRSkeletalMotionRange_WithController
	VRSkeletalMotionRangeWithoutController EVRSkeletalMotionRange = 1 // VRSkeletalMotionRange_WithoutController
)

type EVRSkeletalReferencePose

type EVRSkeletalReferencePose int32

EVRSkeletalReferencePose is the EVRSkeletalReferencePose enum.

const (
	VRSkeletalReferencePoseBindPose  EVRSkeletalReferencePose = 0 // VRSkeletalReferencePose_BindPose
	VRSkeletalReferencePoseOpenHand  EVRSkeletalReferencePose = 1 // VRSkeletalReferencePose_OpenHand
	VRSkeletalReferencePoseFist      EVRSkeletalReferencePose = 2 // VRSkeletalReferencePose_Fist
	VRSkeletalReferencePoseGripLimit EVRSkeletalReferencePose = 3 // VRSkeletalReferencePose_GripLimit
)

type EVRSkeletalTrackingLevel

type EVRSkeletalTrackingLevel int32

EVRSkeletalTrackingLevel is the EVRSkeletalTrackingLevel enum.

const (
	VRSkeletalTrackingEstimated  EVRSkeletalTrackingLevel = 0 // VRSkeletalTracking_Estimated
	VRSkeletalTrackingPartial    EVRSkeletalTrackingLevel = 1 // VRSkeletalTracking_Partial
	VRSkeletalTrackingFull       EVRSkeletalTrackingLevel = 2 // VRSkeletalTracking_Full
	VRSkeletalTrackingLevelCount EVRSkeletalTrackingLevel = 3 // VRSkeletalTrackingLevel_Count
	VRSkeletalTrackingLevelMax   EVRSkeletalTrackingLevel = 2 // VRSkeletalTrackingLevel_Max
)

type EVRSkeletalTransformSpace

type EVRSkeletalTransformSpace int32

EVRSkeletalTransformSpace is the EVRSkeletalTransformSpace enum.

const (
	VRSkeletalTransformSpaceModel  EVRSkeletalTransformSpace = 0 // VRSkeletalTransformSpace_Model
	VRSkeletalTransformSpaceParent EVRSkeletalTransformSpace = 1 // VRSkeletalTransformSpace_Parent
)

type EVRSpatialAnchorError

type EVRSpatialAnchorError int32

EVRSpatialAnchorError is the EVRSpatialAnchorError enum.

const (
	VRSpatialAnchorErrorSuccess                    EVRSpatialAnchorError = 0  // VRSpatialAnchorError_Success
	VRSpatialAnchorErrorInternal                   EVRSpatialAnchorError = 1  // VRSpatialAnchorError_Internal
	VRSpatialAnchorErrorUnknownHandle              EVRSpatialAnchorError = 2  // VRSpatialAnchorError_UnknownHandle
	VRSpatialAnchorErrorArrayTooSmall              EVRSpatialAnchorError = 3  // VRSpatialAnchorError_ArrayTooSmall
	VRSpatialAnchorErrorInvalidDescriptorChar      EVRSpatialAnchorError = 4  // VRSpatialAnchorError_InvalidDescriptorChar
	VRSpatialAnchorErrorNotYetAvailable            EVRSpatialAnchorError = 5  // VRSpatialAnchorError_NotYetAvailable
	VRSpatialAnchorErrorNotAvailableInThisUniverse EVRSpatialAnchorError = 6  // VRSpatialAnchorError_NotAvailableInThisUniverse
	VRSpatialAnchorErrorPermanentlyUnavailable     EVRSpatialAnchorError = 7  // VRSpatialAnchorError_PermanentlyUnavailable
	VRSpatialAnchorErrorWrongDriver                EVRSpatialAnchorError = 8  // VRSpatialAnchorError_WrongDriver
	VRSpatialAnchorErrorDescriptorTooLong          EVRSpatialAnchorError = 9  // VRSpatialAnchorError_DescriptorTooLong
	VRSpatialAnchorErrorUnknown                    EVRSpatialAnchorError = 10 // VRSpatialAnchorError_Unknown
	VRSpatialAnchorErrorNoRoomCalibration          EVRSpatialAnchorError = 11 // VRSpatialAnchorError_NoRoomCalibration
	VRSpatialAnchorErrorInvalidArgument            EVRSpatialAnchorError = 12 // VRSpatialAnchorError_InvalidArgument
	VRSpatialAnchorErrorUnknownDriver              EVRSpatialAnchorError = 13 // VRSpatialAnchorError_UnknownDriver
)

func (EVRSpatialAnchorError) Err

func (e EVRSpatialAnchorError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRSpatialAnchorError) Error

func (e EVRSpatialAnchorError) Error() string

Error implements the error interface.

func (EVRSpatialAnchorError) String

func (e EVRSpatialAnchorError) String() string

String returns the C name of the error code.

type EVRState

type EVRState int32

EVRState is the EVRState enum.

const (
	VRStateUndefined      EVRState = -1 // VRState_Undefined
	VRStateOff            EVRState = 0  // VRState_Off
	VRStateSearching      EVRState = 1  // VRState_Searching
	VRStateSearchingAlert EVRState = 2  // VRState_Searching_Alert
	VRStateReady          EVRState = 3  // VRState_Ready
	VRStateReadyAlert     EVRState = 4  // VRState_Ready_Alert
	VRStateNotReady       EVRState = 5  // VRState_NotReady
	VRStateStandby        EVRState = 6  // VRState_Standby
	VRStateReadyAlertLow  EVRState = 7  // VRState_Ready_Alert_Low
)

type EVRSubmitFlags

type EVRSubmitFlags int32

EVRSubmitFlags is the EVRSubmitFlags enum.

const (
	SubmitDefault                      EVRSubmitFlags = 0      // Submit_Default
	SubmitLensDistortionAlreadyApplied EVRSubmitFlags = 1      // Submit_LensDistortionAlreadyApplied
	SubmitGlRenderBuffer               EVRSubmitFlags = 2      // Submit_GlRenderBuffer
	SubmitReserved                     EVRSubmitFlags = 4      // Submit_Reserved
	SubmitTextureWithPose              EVRSubmitFlags = 8      // Submit_TextureWithPose
	SubmitTextureWithDepth             EVRSubmitFlags = 16     // Submit_TextureWithDepth
	SubmitFrameDiscontinuity           EVRSubmitFlags = 32     // Submit_FrameDiscontinuity
	SubmitVulkanTextureWithArrayData   EVRSubmitFlags = 64     // Submit_VulkanTextureWithArrayData
	SubmitGlArrayTexture               EVRSubmitFlags = 128    // Submit_GlArrayTexture
	SubmitIsEgl                        EVRSubmitFlags = 256    // Submit_IsEgl
	SubmitTextureWithMotion            EVRSubmitFlags = 536    // Submit_TextureWithMotion
	SubmitReserved2                    EVRSubmitFlags = 32768  // Submit_Reserved2
	SubmitReserved3                    EVRSubmitFlags = 65536  // Submit_Reserved3
	SubmitReserved4                    EVRSubmitFlags = 131072 // Submit_Reserved4
	SubmitReserved5                    EVRSubmitFlags = 262144 // Submit_Reserved5
	SubmitReserved6                    EVRSubmitFlags = 524288 // Submit_Reserved6
)

type EVRSummaryType

type EVRSummaryType int32

EVRSummaryType is the EVRSummaryType enum.

const (
	VRSummaryTypeFromAnimation EVRSummaryType = 0 // VRSummaryType_FromAnimation
	VRSummaryTypeFromDevice    EVRSummaryType = 1 // VRSummaryType_FromDevice
)

type EVRTrackedCameraError

type EVRTrackedCameraError int32

EVRTrackedCameraError is the EVRTrackedCameraError enum.

const (
	VRTrackedCameraErrorNone                       EVRTrackedCameraError = 0   // VRTrackedCameraError_None
	VRTrackedCameraErrorOperationFailed            EVRTrackedCameraError = 100 // VRTrackedCameraError_OperationFailed
	VRTrackedCameraErrorInvalidHandle              EVRTrackedCameraError = 101 // VRTrackedCameraError_InvalidHandle
	VRTrackedCameraErrorInvalidFrameHeaderVersion  EVRTrackedCameraError = 102 // VRTrackedCameraError_InvalidFrameHeaderVersion
	VRTrackedCameraErrorOutOfHandles               EVRTrackedCameraError = 103 // VRTrackedCameraError_OutOfHandles
	VRTrackedCameraErrorIPCFailure                 EVRTrackedCameraError = 104 // VRTrackedCameraError_IPCFailure
	VRTrackedCameraErrorNotSupportedForThisDevice  EVRTrackedCameraError = 105 // VRTrackedCameraError_NotSupportedForThisDevice
	VRTrackedCameraErrorSharedMemoryFailure        EVRTrackedCameraError = 106 // VRTrackedCameraError_SharedMemoryFailure
	VRTrackedCameraErrorFrameBufferingFailure      EVRTrackedCameraError = 107 // VRTrackedCameraError_FrameBufferingFailure
	VRTrackedCameraErrorStreamSetupFailure         EVRTrackedCameraError = 108 // VRTrackedCameraError_StreamSetupFailure
	VRTrackedCameraErrorInvalidGLTextureId         EVRTrackedCameraError = 109 // VRTrackedCameraError_InvalidGLTextureId
	VRTrackedCameraErrorInvalidSharedTextureHandle EVRTrackedCameraError = 110 // VRTrackedCameraError_InvalidSharedTextureHandle
	VRTrackedCameraErrorFailedToGetGLTextureId     EVRTrackedCameraError = 111 // VRTrackedCameraError_FailedToGetGLTextureId
	VRTrackedCameraErrorSharedTextureFailure       EVRTrackedCameraError = 112 // VRTrackedCameraError_SharedTextureFailure
	VRTrackedCameraErrorNoFrameAvailable           EVRTrackedCameraError = 113 // VRTrackedCameraError_NoFrameAvailable
	VRTrackedCameraErrorInvalidArgument            EVRTrackedCameraError = 114 // VRTrackedCameraError_InvalidArgument
	VRTrackedCameraErrorInvalidFrameBufferSize     EVRTrackedCameraError = 115 // VRTrackedCameraError_InvalidFrameBufferSize
)

func (EVRTrackedCameraError) Err

func (e EVRTrackedCameraError) Err() error

Err returns nil when e is the zero (success) value and e otherwise.

func (EVRTrackedCameraError) Error

func (e EVRTrackedCameraError) Error() string

Error implements the error interface.

func (EVRTrackedCameraError) String

func (e EVRTrackedCameraError) String() string

String returns the C name of the error code.

type EVRTrackedCameraFrameLayout

type EVRTrackedCameraFrameLayout int32

EVRTrackedCameraFrameLayout is the EVRTrackedCameraFrameLayout enum.

const (
	EVRTrackedCameraFrameLayoutMono             EVRTrackedCameraFrameLayout = 1  // EVRTrackedCameraFrameLayout_Mono
	EVRTrackedCameraFrameLayoutStereo           EVRTrackedCameraFrameLayout = 2  // EVRTrackedCameraFrameLayout_Stereo
	EVRTrackedCameraFrameLayoutVerticalLayout   EVRTrackedCameraFrameLayout = 16 // EVRTrackedCameraFrameLayout_VerticalLayout
	EVRTrackedCameraFrameLayoutHorizontalLayout EVRTrackedCameraFrameLayout = 32 // EVRTrackedCameraFrameLayout_HorizontalLayout
)

type EVRTrackedCameraFrameType

type EVRTrackedCameraFrameType int32

EVRTrackedCameraFrameType is the EVRTrackedCameraFrameType enum.

const (
	VRTrackedCameraFrameTypeDistorted          EVRTrackedCameraFrameType = 0 // VRTrackedCameraFrameType_Distorted
	VRTrackedCameraFrameTypeUndistorted        EVRTrackedCameraFrameType = 1 // VRTrackedCameraFrameType_Undistorted
	VRTrackedCameraFrameTypeMaximumUndistorted EVRTrackedCameraFrameType = 2 // VRTrackedCameraFrameType_MaximumUndistorted
	MAXCAMERAFRAMETYPES                        EVRTrackedCameraFrameType = 3 // MAX_CAMERA_FRAME_TYPES
)

type EVSync

type EVSync int32

EVSync is the EVSync enum.

const (
	VSyncNone         EVSync = 0 // VSync_None
	VSyncWaitRender   EVSync = 1 // VSync_WaitRender
	VSyncNoWaitRender EVSync = 2 // VSync_NoWaitRender
)

type GlInt

type GlInt int32

GlInt is the glInt_t typedef.

type GlSharedTextureHandle

type GlSharedTextureHandle unsafe.Pointer

GlSharedTextureHandle is the glSharedTextureHandle_t typedef.

type GlUInt

type GlUInt uint32

GlUInt is the glUInt_t typedef.

type HeadsetViewMode

type HeadsetViewMode int32

HeadsetViewMode is the HeadsetViewMode_t enum.

const (
	HeadsetViewModeLeft  HeadsetViewMode = 0 // HeadsetViewMode_Left
	HeadsetViewModeRight HeadsetViewMode = 1 // HeadsetViewMode_Right
	HeadsetViewModeBoth  HeadsetViewMode = 2 // HeadsetViewMode_Both
)

type HiddenAreaMesh

type HiddenAreaMesh struct {
	VertexData    *HmdVector2 // const struct HmdVector2_t * pVertexData
	TriangleCount uint32      // uint32_t unTriangleCount
}

HiddenAreaMesh is the HiddenAreaMesh_t struct.

type HmdColor

type HmdColor struct {
	R float32 // float r
	G float32 // float g
	B float32 // float b
	A float32 // float a
}

HmdColor is the HmdColor_t struct.

type HmdError

type HmdError = EVRInitError

HmdError is the HmdError typedef.

type HmdEye

type HmdEye = EVREye

HmdEye is the Hmd_Eye typedef.

type HmdMatrix33

type HmdMatrix33 struct {
	M [3][3]float32 // float [3][3] m
}

HmdMatrix33 is the HmdMatrix33_t struct.

type HmdMatrix34

type HmdMatrix34 struct {
	M [3][4]float32 // float [3][4] m
}

HmdMatrix34 is the HmdMatrix34_t struct.

type HmdMatrix44

type HmdMatrix44 struct {
	M [4][4]float32 // float [4][4] m
}

HmdMatrix44 is the HmdMatrix44_t struct.

type HmdQuad

type HmdQuad struct {
	Corners [4]HmdVector3 // struct HmdVector3_t [4] vCorners
}

HmdQuad is the HmdQuad_t struct.

type HmdQuaternion

type HmdQuaternion struct {
	W float64 // double w
	X float64 // double x
	Y float64 // double y
	Z float64 // double z
}

HmdQuaternion is the HmdQuaternion_t struct.

type HmdQuaternionf

type HmdQuaternionf struct {
	W float32 // float w
	X float32 // float x
	Y float32 // float y
	Z float32 // float z
}

HmdQuaternionf is the HmdQuaternionf_t struct.

type HmdRect2

type HmdRect2 struct {
	TopLeft     HmdVector2 // struct HmdVector2_t vTopLeft
	BottomRight HmdVector2 // struct HmdVector2_t vBottomRight
}

HmdRect2 is the HmdRect2_t struct.

type HmdTrackingResult

type HmdTrackingResult = ETrackingResult

HmdTrackingResult is the HmdTrackingResult typedef.

type HmdVector2

type HmdVector2 struct {
	V [2]float32 // float [2] v
}

HmdVector2 is the HmdVector2_t struct.

type HmdVector3

type HmdVector3 struct {
	V [3]float32 // float [3] v
}

HmdVector3 is the HmdVector3_t struct.

type HmdVector3d

type HmdVector3d struct {
	V [3]float64 // double [3] v
}

HmdVector3d is the HmdVector3d_t struct.

type HmdVector4

type HmdVector4 struct {
	V [4]float32 // float [4] v
}

HmdVector4 is the HmdVector4_t struct.

type IOBufferHandle

type IOBufferHandle uint64

IOBufferHandle is the IOBufferHandle_t typedef.

type IVRApplications

type IVRApplications struct {
	// contains filtered or unexported fields
}

IVRApplications wraps the function table of the vr::IVRApplications interface. Obtain it with VRApplications.

func VRApplications

func VRApplications() *IVRApplications

VRApplications returns the IVRApplications interface (version IVRApplicationsVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRApplications) AddApplicationManifest

func (s *IVRApplications) AddApplicationManifest(applicationManifestFullPath string, temporary bool) EVRApplicationError

AddApplicationManifest calls IVRApplications::AddApplicationManifest.

func (*IVRApplications) CancelApplicationLaunch

func (s *IVRApplications) CancelApplicationLaunch(appKey string) bool

CancelApplicationLaunch calls IVRApplications::CancelApplicationLaunch.

func (*IVRApplications) GetApplicationAutoLaunch

func (s *IVRApplications) GetApplicationAutoLaunch(appKey string) bool

GetApplicationAutoLaunch calls IVRApplications::GetApplicationAutoLaunch.

func (*IVRApplications) GetApplicationCount

func (s *IVRApplications) GetApplicationCount() uint32

GetApplicationCount calls IVRApplications::GetApplicationCount.

func (*IVRApplications) GetApplicationKeyByIndex

func (s *IVRApplications) GetApplicationKeyByIndex(applicationIndex uint32) (string, EVRApplicationError)

GetApplicationKeyByIndex calls IVRApplications::GetApplicationKeyByIndex.

The string is empty when the call fails.

func (*IVRApplications) GetApplicationKeyByProcessId

func (s *IVRApplications) GetApplicationKeyByProcessId(processId uint32) (string, EVRApplicationError)

GetApplicationKeyByProcessId calls IVRApplications::GetApplicationKeyByProcessId.

The string is empty when the call fails.

func (*IVRApplications) GetApplicationLaunchArguments

func (s *IVRApplications) GetApplicationLaunchArguments(unHandle uint32) string

GetApplicationLaunchArguments calls IVRApplications::GetApplicationLaunchArguments.

func (*IVRApplications) GetApplicationProcessId

func (s *IVRApplications) GetApplicationProcessId(appKey string) uint32

GetApplicationProcessId calls IVRApplications::GetApplicationProcessId.

func (*IVRApplications) GetApplicationPropertyBool

func (s *IVRApplications) GetApplicationPropertyBool(appKey string, property EVRApplicationProperty, err *EVRApplicationError) bool

GetApplicationPropertyBool calls IVRApplications::GetApplicationPropertyBool.

func (*IVRApplications) GetApplicationPropertyString

func (s *IVRApplications) GetApplicationPropertyString(appKey string, property EVRApplicationProperty, err *EVRApplicationError) string

GetApplicationPropertyString calls IVRApplications::GetApplicationPropertyString.

func (*IVRApplications) GetApplicationPropertyUint64

func (s *IVRApplications) GetApplicationPropertyUint64(appKey string, property EVRApplicationProperty, err *EVRApplicationError) uint64

GetApplicationPropertyUint64 calls IVRApplications::GetApplicationPropertyUint64.

func (*IVRApplications) GetApplicationSupportedMimeTypes

func (s *IVRApplications) GetApplicationSupportedMimeTypes(pchAppKey string) (string, bool)

GetApplicationSupportedMimeTypes calls IVRApplications::GetApplicationSupportedMimeTypes.

The string is empty when the call fails.

func (*IVRApplications) GetApplicationsErrorNameFromEnum

func (s *IVRApplications) GetApplicationsErrorNameFromEnum(err EVRApplicationError) string

GetApplicationsErrorNameFromEnum calls IVRApplications::GetApplicationsErrorNameFromEnum.

func (*IVRApplications) GetApplicationsThatSupportMimeType

func (s *IVRApplications) GetApplicationsThatSupportMimeType(pchMimeType string) string

GetApplicationsThatSupportMimeType calls IVRApplications::GetApplicationsThatSupportMimeType.

func (*IVRApplications) GetCurrentSceneProcessId

func (s *IVRApplications) GetCurrentSceneProcessId() uint32

GetCurrentSceneProcessId calls IVRApplications::GetCurrentSceneProcessId.

func (*IVRApplications) GetDefaultApplicationForMimeType

func (s *IVRApplications) GetDefaultApplicationForMimeType(mimeType string) (string, bool)

GetDefaultApplicationForMimeType calls IVRApplications::GetDefaultApplicationForMimeType.

The string is empty when the call fails.

func (*IVRApplications) GetSceneApplicationState

func (s *IVRApplications) GetSceneApplicationState() EVRSceneApplicationState

GetSceneApplicationState calls IVRApplications::GetSceneApplicationState.

func (*IVRApplications) GetSceneApplicationStateNameFromEnum

func (s *IVRApplications) GetSceneApplicationStateNameFromEnum(state EVRSceneApplicationState) string

GetSceneApplicationStateNameFromEnum calls IVRApplications::GetSceneApplicationStateNameFromEnum.

func (*IVRApplications) GetStartingApplication

func (s *IVRApplications) GetStartingApplication() (string, EVRApplicationError)

GetStartingApplication calls IVRApplications::GetStartingApplication.

The string is empty when the call fails.

func (*IVRApplications) IdentifyApplication

func (s *IVRApplications) IdentifyApplication(processId uint32, appKey string) EVRApplicationError

IdentifyApplication calls IVRApplications::IdentifyApplication.

func (*IVRApplications) IsApplicationInstalled

func (s *IVRApplications) IsApplicationInstalled(appKey string) bool

IsApplicationInstalled calls IVRApplications::IsApplicationInstalled.

func (*IVRApplications) LaunchApplication

func (s *IVRApplications) LaunchApplication(appKey string) EVRApplicationError

LaunchApplication calls IVRApplications::LaunchApplication.

func (*IVRApplications) LaunchApplicationFromMimeType

func (s *IVRApplications) LaunchApplicationFromMimeType(mimeType string, args string) EVRApplicationError

LaunchApplicationFromMimeType calls IVRApplications::LaunchApplicationFromMimeType.

func (*IVRApplications) LaunchDashboardOverlay

func (s *IVRApplications) LaunchDashboardOverlay(appKey string) EVRApplicationError

LaunchDashboardOverlay calls IVRApplications::LaunchDashboardOverlay.

func (*IVRApplications) LaunchInternalProcess

func (s *IVRApplications) LaunchInternalProcess(binaryPath string, arguments string, workingDirectory string) EVRApplicationError

LaunchInternalProcess calls IVRApplications::LaunchInternalProcess.

func (*IVRApplications) LaunchTemplateApplication

func (s *IVRApplications) LaunchTemplateApplication(pchTemplateAppKey string, pchNewAppKey string, pKeys []AppOverrideKeys) EVRApplicationError

LaunchTemplateApplication calls IVRApplications::LaunchTemplateApplication.

func (*IVRApplications) PerformApplicationPrelaunchCheck

func (s *IVRApplications) PerformApplicationPrelaunchCheck(appKey string) EVRApplicationError

PerformApplicationPrelaunchCheck calls IVRApplications::PerformApplicationPrelaunchCheck.

func (*IVRApplications) RegisterSubprocess

func (s *IVRApplications) RegisterSubprocess(pid uint32) EVRApplicationError

RegisterSubprocess calls IVRApplications::RegisterSubprocess.

func (*IVRApplications) RemoveApplicationManifest

func (s *IVRApplications) RemoveApplicationManifest(applicationManifestFullPath string) EVRApplicationError

RemoveApplicationManifest calls IVRApplications::RemoveApplicationManifest.

func (*IVRApplications) SetApplicationAutoLaunch

func (s *IVRApplications) SetApplicationAutoLaunch(appKey string, autoLaunch bool) EVRApplicationError

SetApplicationAutoLaunch calls IVRApplications::SetApplicationAutoLaunch.

func (*IVRApplications) SetDefaultApplicationForMimeType

func (s *IVRApplications) SetDefaultApplicationForMimeType(appKey string, mimeType string) EVRApplicationError

SetDefaultApplicationForMimeType calls IVRApplications::SetDefaultApplicationForMimeType.

type IVRBlockQueue

type IVRBlockQueue struct {
	// contains filtered or unexported fields
}

IVRBlockQueue wraps the function table of the vr::IVRBlockQueue interface. Obtain it with VRBlockQueue.

func VRBlockQueue

func VRBlockQueue() *IVRBlockQueue

VRBlockQueue returns the IVRBlockQueue interface (version IVRBlockQueueVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRBlockQueue) AcquireReadOnlyBlock

func (s *IVRBlockQueue) AcquireReadOnlyBlock(queueHandle PropertyContainerHandle, blockHandle *PropertyContainerHandle, buffer *unsafe.Pointer, readType EBlockQueueReadType) EBlockQueueError

AcquireReadOnlyBlock calls IVRBlockQueue::AcquireReadOnlyBlock.

func (*IVRBlockQueue) AcquireWriteOnlyBlock

func (s *IVRBlockQueue) AcquireWriteOnlyBlock(queueHandle PropertyContainerHandle, blockHandle *PropertyContainerHandle, buffer *unsafe.Pointer) EBlockQueueError

AcquireWriteOnlyBlock calls IVRBlockQueue::AcquireWriteOnlyBlock.

func (*IVRBlockQueue) Connect

func (s *IVRBlockQueue) Connect(queueHandle *PropertyContainerHandle, path string) EBlockQueueError

Connect calls IVRBlockQueue::Connect.

func (*IVRBlockQueue) Create

func (s *IVRBlockQueue) Create(queueHandle *PropertyContainerHandle, path string, blockDataSize uint32, blockHeaderSize uint32, blockCount uint32, flags uint32) EBlockQueueError

Create calls IVRBlockQueue::Create.

func (*IVRBlockQueue) Destroy

func (s *IVRBlockQueue) Destroy(queueHandle PropertyContainerHandle) EBlockQueueError

Destroy calls IVRBlockQueue::Destroy.

func (*IVRBlockQueue) QueueHasReader

func (s *IVRBlockQueue) QueueHasReader(queueHandle PropertyContainerHandle, hasReaders *bool) EBlockQueueError

QueueHasReader calls IVRBlockQueue::QueueHasReader.

func (*IVRBlockQueue) ReleaseReadOnlyBlock

func (s *IVRBlockQueue) ReleaseReadOnlyBlock(queueHandle PropertyContainerHandle, blockHandle PropertyContainerHandle) EBlockQueueError

ReleaseReadOnlyBlock calls IVRBlockQueue::ReleaseReadOnlyBlock.

func (*IVRBlockQueue) ReleaseWriteOnlyBlock

func (s *IVRBlockQueue) ReleaseWriteOnlyBlock(queueHandle PropertyContainerHandle, blockHandle PropertyContainerHandle) EBlockQueueError

ReleaseWriteOnlyBlock calls IVRBlockQueue::ReleaseWriteOnlyBlock.

func (*IVRBlockQueue) WaitAndAcquireReadOnlyBlock

func (s *IVRBlockQueue) WaitAndAcquireReadOnlyBlock(queueHandle PropertyContainerHandle, blockHandle *PropertyContainerHandle, buffer *unsafe.Pointer, readType EBlockQueueReadType, timeoutMs uint32) EBlockQueueError

WaitAndAcquireReadOnlyBlock calls IVRBlockQueue::WaitAndAcquireReadOnlyBlock.

type IVRChaperone

type IVRChaperone struct {
	// contains filtered or unexported fields
}

IVRChaperone wraps the function table of the vr::IVRChaperone interface. Obtain it with VRChaperone.

func VRChaperone

func VRChaperone() *IVRChaperone

VRChaperone returns the IVRChaperone interface (version IVRChaperoneVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRChaperone) AreBoundsVisible

func (s *IVRChaperone) AreBoundsVisible() bool

AreBoundsVisible calls IVRChaperone::AreBoundsVisible.

func (*IVRChaperone) ForceBoundsVisible

func (s *IVRChaperone) ForceBoundsVisible(force bool)

ForceBoundsVisible calls IVRChaperone::ForceBoundsVisible.

func (*IVRChaperone) GetBoundsColor

func (s *IVRChaperone) GetBoundsColor(outputColorArray *HmdColor, numOutputColors int32, collisionBoundsFadeDistance float32, outputCameraColor *HmdColor)

GetBoundsColor calls IVRChaperone::GetBoundsColor.

func (*IVRChaperone) GetCalibrationState

func (s *IVRChaperone) GetCalibrationState() ChaperoneCalibrationState

GetCalibrationState calls IVRChaperone::GetCalibrationState.

func (*IVRChaperone) GetPlayAreaRect

func (s *IVRChaperone) GetPlayAreaRect(rect *HmdQuad) bool

GetPlayAreaRect calls IVRChaperone::GetPlayAreaRect.

func (*IVRChaperone) GetPlayAreaSize

func (s *IVRChaperone) GetPlayAreaSize(sizeX *float32, sizeZ *float32) bool

GetPlayAreaSize calls IVRChaperone::GetPlayAreaSize.

func (*IVRChaperone) ReloadInfo

func (s *IVRChaperone) ReloadInfo()

ReloadInfo calls IVRChaperone::ReloadInfo.

func (*IVRChaperone) ResetZeroPose

func (s *IVRChaperone) ResetZeroPose(trackingUniverseOrigin ETrackingUniverseOrigin)

ResetZeroPose calls IVRChaperone::ResetZeroPose.

func (*IVRChaperone) SetSceneColor

func (s *IVRChaperone) SetSceneColor(color HmdColor)

SetSceneColor calls IVRChaperone::SetSceneColor.

type IVRChaperoneSetup

type IVRChaperoneSetup struct {
	// contains filtered or unexported fields
}

IVRChaperoneSetup wraps the function table of the vr::IVRChaperoneSetup interface. Obtain it with VRChaperoneSetup.

func VRChaperoneSetup

func VRChaperoneSetup() *IVRChaperoneSetup

VRChaperoneSetup returns the IVRChaperoneSetup interface (version IVRChaperoneSetupVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRChaperoneSetup) CommitWorkingCopy

func (s *IVRChaperoneSetup) CommitWorkingCopy(configFile EChaperoneConfigFile) bool

CommitWorkingCopy calls IVRChaperoneSetup::CommitWorkingCopy.

func (*IVRChaperoneSetup) ExportLiveToBuffer

func (s *IVRChaperoneSetup) ExportLiveToBuffer() (string, bool)

ExportLiveToBuffer calls IVRChaperoneSetup::ExportLiveToBuffer.

The string is empty when the call fails.

func (*IVRChaperoneSetup) GetLiveCollisionBoundsInfo

func (s *IVRChaperoneSetup) GetLiveCollisionBoundsInfo(quadsBuffer []HmdQuad) (bool, uint32)

GetLiveCollisionBoundsInfo calls IVRChaperoneSetup::GetLiveCollisionBoundsInfo.

func (*IVRChaperoneSetup) GetLiveSeatedZeroPoseToRawTrackingPose

func (s *IVRChaperoneSetup) GetLiveSeatedZeroPoseToRawTrackingPose(seatedZeroPoseToRawTrackingPose *HmdMatrix34) bool

GetLiveSeatedZeroPoseToRawTrackingPose calls IVRChaperoneSetup::GetLiveSeatedZeroPoseToRawTrackingPose.

func (*IVRChaperoneSetup) GetWorkingCollisionBoundsInfo

func (s *IVRChaperoneSetup) GetWorkingCollisionBoundsInfo(quadsBuffer []HmdQuad) (bool, uint32)

GetWorkingCollisionBoundsInfo calls IVRChaperoneSetup::GetWorkingCollisionBoundsInfo.

func (*IVRChaperoneSetup) GetWorkingPlayAreaRect

func (s *IVRChaperoneSetup) GetWorkingPlayAreaRect(rect *HmdQuad) bool

GetWorkingPlayAreaRect calls IVRChaperoneSetup::GetWorkingPlayAreaRect.

func (*IVRChaperoneSetup) GetWorkingPlayAreaSize

func (s *IVRChaperoneSetup) GetWorkingPlayAreaSize(sizeX *float32, sizeZ *float32) bool

GetWorkingPlayAreaSize calls IVRChaperoneSetup::GetWorkingPlayAreaSize.

func (*IVRChaperoneSetup) GetWorkingSeatedZeroPoseToRawTrackingPose

func (s *IVRChaperoneSetup) GetWorkingSeatedZeroPoseToRawTrackingPose(seatedZeroPoseToRawTrackingPose *HmdMatrix34) bool

GetWorkingSeatedZeroPoseToRawTrackingPose calls IVRChaperoneSetup::GetWorkingSeatedZeroPoseToRawTrackingPose.

func (*IVRChaperoneSetup) GetWorkingStandingZeroPoseToRawTrackingPose

func (s *IVRChaperoneSetup) GetWorkingStandingZeroPoseToRawTrackingPose(standingZeroPoseToRawTrackingPose *HmdMatrix34) bool

GetWorkingStandingZeroPoseToRawTrackingPose calls IVRChaperoneSetup::GetWorkingStandingZeroPoseToRawTrackingPose.

func (*IVRChaperoneSetup) HideWorkingSetPreview

func (s *IVRChaperoneSetup) HideWorkingSetPreview()

HideWorkingSetPreview calls IVRChaperoneSetup::HideWorkingSetPreview.

func (*IVRChaperoneSetup) ImportFromBufferToWorking

func (s *IVRChaperoneSetup) ImportFromBufferToWorking(buffer string, importFlags uint32) bool

ImportFromBufferToWorking calls IVRChaperoneSetup::ImportFromBufferToWorking.

func (*IVRChaperoneSetup) ReloadFromDisk

func (s *IVRChaperoneSetup) ReloadFromDisk(configFile EChaperoneConfigFile)

ReloadFromDisk calls IVRChaperoneSetup::ReloadFromDisk.

func (*IVRChaperoneSetup) RevertWorkingCopy

func (s *IVRChaperoneSetup) RevertWorkingCopy()

RevertWorkingCopy calls IVRChaperoneSetup::RevertWorkingCopy.

func (*IVRChaperoneSetup) RoomSetupStarting

func (s *IVRChaperoneSetup) RoomSetupStarting()

RoomSetupStarting calls IVRChaperoneSetup::RoomSetupStarting.

func (*IVRChaperoneSetup) SetWorkingCollisionBoundsInfo

func (s *IVRChaperoneSetup) SetWorkingCollisionBoundsInfo(quadsBuffer []HmdQuad)

SetWorkingCollisionBoundsInfo calls IVRChaperoneSetup::SetWorkingCollisionBoundsInfo.

func (*IVRChaperoneSetup) SetWorkingPerimeter

func (s *IVRChaperoneSetup) SetWorkingPerimeter(pointBuffer []HmdVector2)

SetWorkingPerimeter calls IVRChaperoneSetup::SetWorkingPerimeter.

func (*IVRChaperoneSetup) SetWorkingPlayAreaSize

func (s *IVRChaperoneSetup) SetWorkingPlayAreaSize(sizeX float32, sizeZ float32)

SetWorkingPlayAreaSize calls IVRChaperoneSetup::SetWorkingPlayAreaSize.

func (*IVRChaperoneSetup) SetWorkingSeatedZeroPoseToRawTrackingPose

func (s *IVRChaperoneSetup) SetWorkingSeatedZeroPoseToRawTrackingPose(matSeatedZeroPoseToRawTrackingPose *HmdMatrix34)

SetWorkingSeatedZeroPoseToRawTrackingPose calls IVRChaperoneSetup::SetWorkingSeatedZeroPoseToRawTrackingPose.

func (*IVRChaperoneSetup) SetWorkingStandingZeroPoseToRawTrackingPose

func (s *IVRChaperoneSetup) SetWorkingStandingZeroPoseToRawTrackingPose(matStandingZeroPoseToRawTrackingPose *HmdMatrix34)

SetWorkingStandingZeroPoseToRawTrackingPose calls IVRChaperoneSetup::SetWorkingStandingZeroPoseToRawTrackingPose.

func (*IVRChaperoneSetup) ShowWorkingSetPreview

func (s *IVRChaperoneSetup) ShowWorkingSetPreview()

ShowWorkingSetPreview calls IVRChaperoneSetup::ShowWorkingSetPreview.

type IVRCompositor

type IVRCompositor struct {
	// contains filtered or unexported fields
}

IVRCompositor wraps the function table of the vr::IVRCompositor interface. Obtain it with VRCompositor.

func VRCompositor

func VRCompositor() *IVRCompositor

VRCompositor returns the IVRCompositor interface (version IVRCompositorVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRCompositor) CanRenderScene

func (s *IVRCompositor) CanRenderScene() bool

CanRenderScene calls IVRCompositor::CanRenderScene.

func (*IVRCompositor) ClearLastSubmittedFrame

func (s *IVRCompositor) ClearLastSubmittedFrame()

ClearLastSubmittedFrame calls IVRCompositor::ClearLastSubmittedFrame.

func (*IVRCompositor) ClearSkyboxOverride

func (s *IVRCompositor) ClearSkyboxOverride()

ClearSkyboxOverride calls IVRCompositor::ClearSkyboxOverride.

func (*IVRCompositor) ClearStageOverride

func (s *IVRCompositor) ClearStageOverride()

ClearStageOverride calls IVRCompositor::ClearStageOverride.

func (*IVRCompositor) CompositorBringToFront

func (s *IVRCompositor) CompositorBringToFront()

CompositorBringToFront calls IVRCompositor::CompositorBringToFront.

func (*IVRCompositor) CompositorDumpImages

func (s *IVRCompositor) CompositorDumpImages()

CompositorDumpImages calls IVRCompositor::CompositorDumpImages.

func (*IVRCompositor) CompositorGoToBack

func (s *IVRCompositor) CompositorGoToBack()

CompositorGoToBack calls IVRCompositor::CompositorGoToBack.

func (*IVRCompositor) CompositorQuit

func (s *IVRCompositor) CompositorQuit()

CompositorQuit calls IVRCompositor::CompositorQuit.

func (*IVRCompositor) FadeGrid

func (s *IVRCompositor) FadeGrid(seconds float32, fadeGridIn bool)

FadeGrid calls IVRCompositor::FadeGrid.

func (*IVRCompositor) FadeToColor

func (s *IVRCompositor) FadeToColor(seconds float32, red float32, green float32, blue float32, alpha float32, background bool)

FadeToColor calls IVRCompositor::FadeToColor.

func (*IVRCompositor) ForceInterleavedReprojectionOn

func (s *IVRCompositor) ForceInterleavedReprojectionOn(override bool)

ForceInterleavedReprojectionOn calls IVRCompositor::ForceInterleavedReprojectionOn.

func (*IVRCompositor) ForceReconnectProcess

func (s *IVRCompositor) ForceReconnectProcess()

ForceReconnectProcess calls IVRCompositor::ForceReconnectProcess.

func (*IVRCompositor) GetCompositorBenchmarkResults

func (s *IVRCompositor) GetCompositorBenchmarkResults(benchmarkResults *CompositorBenchmarkResults) bool

GetCompositorBenchmarkResults calls IVRCompositor::GetCompositorBenchmarkResults.

func (*IVRCompositor) GetCumulativeStats

func (s *IVRCompositor) GetCumulativeStats(stats *CompositorCumulativeStats)

GetCumulativeStats calls IVRCompositor::GetCumulativeStats.

func (*IVRCompositor) GetCurrentFadeColor

func (s *IVRCompositor) GetCurrentFadeColor(background bool) HmdColor

GetCurrentFadeColor calls IVRCompositor::GetCurrentFadeColor.

func (*IVRCompositor) GetCurrentGridAlpha

func (s *IVRCompositor) GetCurrentGridAlpha() float32

GetCurrentGridAlpha calls IVRCompositor::GetCurrentGridAlpha.

func (*IVRCompositor) GetCurrentSceneFocusProcess

func (s *IVRCompositor) GetCurrentSceneFocusProcess() uint32

GetCurrentSceneFocusProcess calls IVRCompositor::GetCurrentSceneFocusProcess.

func (*IVRCompositor) GetFrameTimeRemaining

func (s *IVRCompositor) GetFrameTimeRemaining() float32

GetFrameTimeRemaining calls IVRCompositor::GetFrameTimeRemaining.

func (*IVRCompositor) GetFrameTiming

func (s *IVRCompositor) GetFrameTiming(timing *CompositorFrameTiming, framesAgo uint32) bool

GetFrameTiming calls IVRCompositor::GetFrameTiming.

func (*IVRCompositor) GetFrameTimings

func (s *IVRCompositor) GetFrameTimings(timing []CompositorFrameTiming) uint32

GetFrameTimings calls IVRCompositor::GetFrameTimings. Set Size of the first element to CompositorFrameTimingSize before the call.

func (*IVRCompositor) GetLastFrameRenderer

func (s *IVRCompositor) GetLastFrameRenderer() uint32

GetLastFrameRenderer calls IVRCompositor::GetLastFrameRenderer.

func (*IVRCompositor) GetLastPoseForTrackedDeviceIndex

func (s *IVRCompositor) GetLastPoseForTrackedDeviceIndex(deviceIndex TrackedDeviceIndex, outputPose *TrackedDevicePose, outputGamePose *TrackedDevicePose) EVRCompositorError

GetLastPoseForTrackedDeviceIndex calls IVRCompositor::GetLastPoseForTrackedDeviceIndex.

func (*IVRCompositor) GetLastPosePredictionIDs

func (s *IVRCompositor) GetLastPosePredictionIDs(renderPosePredictionID *uint32, gamePosePredictionID *uint32) EVRCompositorError

GetLastPosePredictionIDs calls IVRCompositor::GetLastPosePredictionIDs.

func (*IVRCompositor) GetLastPoses

func (s *IVRCompositor) GetLastPoses(renderPoseArray []TrackedDevicePose, gamePoseArray []TrackedDevicePose) EVRCompositorError

GetLastPoses calls IVRCompositor::GetLastPoses.

func (*IVRCompositor) GetMirrorTextureD3D11

func (s *IVRCompositor) GetMirrorTextureD3D11(eye EVREye, d3D11DeviceOrResource unsafe.Pointer, d3D11ShaderResourceView *unsafe.Pointer) EVRCompositorError

GetMirrorTextureD3D11 calls IVRCompositor::GetMirrorTextureD3D11.

func (*IVRCompositor) GetMirrorTextureGL

func (s *IVRCompositor) GetMirrorTextureGL(eye EVREye, pglTextureId *GlUInt, pglSharedTextureHandle *GlSharedTextureHandle) EVRCompositorError

GetMirrorTextureGL calls IVRCompositor::GetMirrorTextureGL.

func (*IVRCompositor) GetPosesForFrame

func (s *IVRCompositor) GetPosesForFrame(posePredictionID uint32, poseArray []TrackedDevicePose) EVRCompositorError

GetPosesForFrame calls IVRCompositor::GetPosesForFrame.

func (*IVRCompositor) GetSubmitTexture

func (s *IVRCompositor) GetSubmitTexture(outTexture *Texture, needsFlush *bool, usage EVRCompositorTextureUsage, texture *Texture, bounds *VRTextureBounds, submitFlags EVRSubmitFlags) EVRCompositorError

GetSubmitTexture calls IVRCompositor::GetSubmitTexture.

func (*IVRCompositor) GetTrackingSpace

func (s *IVRCompositor) GetTrackingSpace() ETrackingUniverseOrigin

GetTrackingSpace calls IVRCompositor::GetTrackingSpace.

func (*IVRCompositor) GetVulkanDeviceExtensionsRequired

func (s *IVRCompositor) GetVulkanDeviceExtensionsRequired(physicalDevice unsafe.Pointer) string

GetVulkanDeviceExtensionsRequired calls IVRCompositor::GetVulkanDeviceExtensionsRequired.

func (*IVRCompositor) GetVulkanInstanceExtensionsRequired

func (s *IVRCompositor) GetVulkanInstanceExtensionsRequired() string

GetVulkanInstanceExtensionsRequired calls IVRCompositor::GetVulkanInstanceExtensionsRequired.

func (*IVRCompositor) HideMirrorWindow

func (s *IVRCompositor) HideMirrorWindow()

HideMirrorWindow calls IVRCompositor::HideMirrorWindow.

func (*IVRCompositor) IsCurrentSceneFocusAppLoading

func (s *IVRCompositor) IsCurrentSceneFocusAppLoading() bool

IsCurrentSceneFocusAppLoading calls IVRCompositor::IsCurrentSceneFocusAppLoading.

func (*IVRCompositor) IsFullscreen

func (s *IVRCompositor) IsFullscreen() bool

IsFullscreen calls IVRCompositor::IsFullscreen.

func (*IVRCompositor) IsMirrorWindowVisible

func (s *IVRCompositor) IsMirrorWindowVisible() bool

IsMirrorWindowVisible calls IVRCompositor::IsMirrorWindowVisible.

func (*IVRCompositor) IsMotionSmoothingEnabled

func (s *IVRCompositor) IsMotionSmoothingEnabled() bool

IsMotionSmoothingEnabled calls IVRCompositor::IsMotionSmoothingEnabled.

func (*IVRCompositor) IsMotionSmoothingSupported

func (s *IVRCompositor) IsMotionSmoothingSupported() bool

IsMotionSmoothingSupported calls IVRCompositor::IsMotionSmoothingSupported.

func (*IVRCompositor) LockGLSharedTextureForAccess

func (s *IVRCompositor) LockGLSharedTextureForAccess(glSharedTextureHandle GlSharedTextureHandle)

LockGLSharedTextureForAccess calls IVRCompositor::LockGLSharedTextureForAccess.

func (*IVRCompositor) PostPresentHandoff

func (s *IVRCompositor) PostPresentHandoff()

PostPresentHandoff calls IVRCompositor::PostPresentHandoff.

func (*IVRCompositor) ReleaseMirrorTextureD3D11

func (s *IVRCompositor) ReleaseMirrorTextureD3D11(d3D11ShaderResourceView unsafe.Pointer)

ReleaseMirrorTextureD3D11 calls IVRCompositor::ReleaseMirrorTextureD3D11.

func (*IVRCompositor) ReleaseSharedGLTexture

func (s *IVRCompositor) ReleaseSharedGLTexture(glTextureId GlUInt, glSharedTextureHandle GlSharedTextureHandle) bool

ReleaseSharedGLTexture calls IVRCompositor::ReleaseSharedGLTexture.

func (*IVRCompositor) SetExplicitTimingMode

func (s *IVRCompositor) SetExplicitTimingMode(timingMode EVRCompositorTimingMode)

SetExplicitTimingMode calls IVRCompositor::SetExplicitTimingMode.

func (*IVRCompositor) SetSkyboxOverride

func (s *IVRCompositor) SetSkyboxOverride(textures []Texture) EVRCompositorError

SetSkyboxOverride calls IVRCompositor::SetSkyboxOverride.

func (*IVRCompositor) SetStageOverride_Async

func (s *IVRCompositor) SetStageOverride_Async(renderModelPath string, transform *HmdMatrix34, renderSettings *CompositorStageRenderSettings) EVRCompositorError

SetStageOverride_Async calls IVRCompositor::SetStageOverride_Async.

func (*IVRCompositor) SetTrackingSpace

func (s *IVRCompositor) SetTrackingSpace(origin ETrackingUniverseOrigin)

SetTrackingSpace calls IVRCompositor::SetTrackingSpace.

func (*IVRCompositor) ShouldAppRenderWithLowResources

func (s *IVRCompositor) ShouldAppRenderWithLowResources() bool

ShouldAppRenderWithLowResources calls IVRCompositor::ShouldAppRenderWithLowResources.

func (*IVRCompositor) ShowMirrorWindow

func (s *IVRCompositor) ShowMirrorWindow()

ShowMirrorWindow calls IVRCompositor::ShowMirrorWindow.

func (*IVRCompositor) Submit

func (s *IVRCompositor) Submit(eye EVREye, texture *Texture, bounds *VRTextureBounds, submitFlags EVRSubmitFlags) EVRCompositorError

Submit calls IVRCompositor::Submit.

func (*IVRCompositor) SubmitExplicitTimingData

func (s *IVRCompositor) SubmitExplicitTimingData() EVRCompositorError

SubmitExplicitTimingData calls IVRCompositor::SubmitExplicitTimingData.

func (*IVRCompositor) SubmitWithArrayIndex

func (s *IVRCompositor) SubmitWithArrayIndex(eye EVREye, texture *Texture, textureArrayIndex uint32, bounds *VRTextureBounds, submitFlags EVRSubmitFlags) EVRCompositorError

SubmitWithArrayIndex calls IVRCompositor::SubmitWithArrayIndex.

func (*IVRCompositor) SuspendRendering

func (s *IVRCompositor) SuspendRendering(suspend bool)

SuspendRendering calls IVRCompositor::SuspendRendering.

func (*IVRCompositor) UnlockGLSharedTextureForAccess

func (s *IVRCompositor) UnlockGLSharedTextureForAccess(glSharedTextureHandle GlSharedTextureHandle)

UnlockGLSharedTextureForAccess calls IVRCompositor::UnlockGLSharedTextureForAccess.

func (*IVRCompositor) WaitGetPoses

func (s *IVRCompositor) WaitGetPoses(renderPoseArray []TrackedDevicePose, gamePoseArray []TrackedDevicePose) EVRCompositorError

WaitGetPoses calls IVRCompositor::WaitGetPoses.

type IVRDebug

type IVRDebug struct {
	// contains filtered or unexported fields
}

IVRDebug wraps the function table of the vr::IVRDebug interface. Obtain it with VRDebug.

func VRDebug

func VRDebug() *IVRDebug

VRDebug returns the IVRDebug interface (version IVRDebugVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRDebug) BeginVrProfilerEvent

func (s *IVRDebug) BeginVrProfilerEvent(handleOut *VrProfilerEventHandle) EVRDebugError

BeginVrProfilerEvent calls IVRDebug::BeginVrProfilerEvent.

func (*IVRDebug) DriverDebugRequest

func (s *IVRDebug) DriverDebugRequest(deviceIndex TrackedDeviceIndex, request string) string

DriverDebugRequest calls IVRDebug::DriverDebugRequest.

The request is sent exactly once, with a buffer of MaxDriverDebugResponseSize bytes.

func (*IVRDebug) EmitVrProfilerEvent

func (s *IVRDebug) EmitVrProfilerEvent(message string) EVRDebugError

EmitVrProfilerEvent calls IVRDebug::EmitVrProfilerEvent.

func (*IVRDebug) FinishVrProfilerEvent

func (s *IVRDebug) FinishVrProfilerEvent(handle VrProfilerEventHandle, message string) EVRDebugError

FinishVrProfilerEvent calls IVRDebug::FinishVrProfilerEvent.

type IVRDriverManager

type IVRDriverManager struct {
	// contains filtered or unexported fields
}

IVRDriverManager wraps the function table of the vr::IVRDriverManager interface. Obtain it with VRDriverManager.

func VRDriverManager

func VRDriverManager() *IVRDriverManager

VRDriverManager returns the IVRDriverManager interface (version IVRDriverManagerVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRDriverManager) GetDriverCount

func (s *IVRDriverManager) GetDriverCount() uint32

GetDriverCount calls IVRDriverManager::GetDriverCount.

func (*IVRDriverManager) GetDriverHandle

func (s *IVRDriverManager) GetDriverHandle(driverName string) DriverHandle

GetDriverHandle calls IVRDriverManager::GetDriverHandle.

func (*IVRDriverManager) GetDriverName

func (s *IVRDriverManager) GetDriverName(driver DriverId) string

GetDriverName calls IVRDriverManager::GetDriverName.

func (*IVRDriverManager) IsEnabled

func (s *IVRDriverManager) IsEnabled(driver DriverId) bool

IsEnabled calls IVRDriverManager::IsEnabled.

type IVRExtendedDisplay

type IVRExtendedDisplay struct {
	// contains filtered or unexported fields
}

IVRExtendedDisplay wraps the function table of the vr::IVRExtendedDisplay interface. Obtain it with VRExtendedDisplay.

func VRExtendedDisplay

func VRExtendedDisplay() *IVRExtendedDisplay

VRExtendedDisplay returns the IVRExtendedDisplay interface (version IVRExtendedDisplayVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRExtendedDisplay) GetDXGIOutputInfo

func (s *IVRExtendedDisplay) GetDXGIOutputInfo(adapterIndex *int32, adapterOutputIndex *int32)

GetDXGIOutputInfo calls IVRExtendedDisplay::GetDXGIOutputInfo.

func (*IVRExtendedDisplay) GetEyeOutputViewport

func (s *IVRExtendedDisplay) GetEyeOutputViewport(eye EVREye, x *uint32, y *uint32, width *uint32, height *uint32)

GetEyeOutputViewport calls IVRExtendedDisplay::GetEyeOutputViewport.

func (*IVRExtendedDisplay) GetWindowBounds

func (s *IVRExtendedDisplay) GetWindowBounds(x *int32, y *int32, width *uint32, height *uint32)

GetWindowBounds calls IVRExtendedDisplay::GetWindowBounds.

type IVRHeadsetView

type IVRHeadsetView struct {
	// contains filtered or unexported fields
}

IVRHeadsetView wraps the function table of the vr::IVRHeadsetView interface. Obtain it with VRHeadsetView.

func VRHeadsetView

func VRHeadsetView() *IVRHeadsetView

VRHeadsetView returns the IVRHeadsetView interface (version IVRHeadsetViewVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRHeadsetView) GetHeadsetViewAspectRatio

func (s *IVRHeadsetView) GetHeadsetViewAspectRatio() float32

GetHeadsetViewAspectRatio calls IVRHeadsetView::GetHeadsetViewAspectRatio.

func (*IVRHeadsetView) GetHeadsetViewBlendRange

func (s *IVRHeadsetView) GetHeadsetViewBlendRange(startPct *float32, endPct *float32)

GetHeadsetViewBlendRange calls IVRHeadsetView::GetHeadsetViewBlendRange.

func (*IVRHeadsetView) GetHeadsetViewCropped

func (s *IVRHeadsetView) GetHeadsetViewCropped() bool

GetHeadsetViewCropped calls IVRHeadsetView::GetHeadsetViewCropped.

func (*IVRHeadsetView) GetHeadsetViewMode

func (s *IVRHeadsetView) GetHeadsetViewMode() HeadsetViewMode

GetHeadsetViewMode calls IVRHeadsetView::GetHeadsetViewMode.

func (*IVRHeadsetView) GetHeadsetViewSize

func (s *IVRHeadsetView) GetHeadsetViewSize(width *uint32, height *uint32)

GetHeadsetViewSize calls IVRHeadsetView::GetHeadsetViewSize.

func (*IVRHeadsetView) SetHeadsetViewBlendRange

func (s *IVRHeadsetView) SetHeadsetViewBlendRange(startPct float32, endPct float32)

SetHeadsetViewBlendRange calls IVRHeadsetView::SetHeadsetViewBlendRange.

func (*IVRHeadsetView) SetHeadsetViewCropped

func (s *IVRHeadsetView) SetHeadsetViewCropped(cropped bool)

SetHeadsetViewCropped calls IVRHeadsetView::SetHeadsetViewCropped.

func (*IVRHeadsetView) SetHeadsetViewMode

func (s *IVRHeadsetView) SetHeadsetViewMode(headsetViewMode HeadsetViewMode)

SetHeadsetViewMode calls IVRHeadsetView::SetHeadsetViewMode.

func (*IVRHeadsetView) SetHeadsetViewSize

func (s *IVRHeadsetView) SetHeadsetViewSize(width uint32, height uint32)

SetHeadsetViewSize calls IVRHeadsetView::SetHeadsetViewSize.

type IVRIOBuffer

type IVRIOBuffer struct {
	// contains filtered or unexported fields
}

IVRIOBuffer wraps the function table of the vr::IVRIOBuffer interface. Obtain it with VRIOBuffer.

func VRIOBuffer

func VRIOBuffer() *IVRIOBuffer

VRIOBuffer returns the IVRIOBuffer interface (version IVRIOBufferVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRIOBuffer) Close

func (s *IVRIOBuffer) Close(buffer IOBufferHandle) EIOBufferError

Close calls IVRIOBuffer::Close.

func (*IVRIOBuffer) HasReaders

func (s *IVRIOBuffer) HasReaders(buffer IOBufferHandle) bool

HasReaders calls IVRIOBuffer::HasReaders.

func (*IVRIOBuffer) Open

func (s *IVRIOBuffer) Open(path string, mode EIOBufferMode, elementSize uint32, elements uint32, buffer *IOBufferHandle) EIOBufferError

Open calls IVRIOBuffer::Open.

func (*IVRIOBuffer) PropertyContainer

func (s *IVRIOBuffer) PropertyContainer(buffer IOBufferHandle) PropertyContainerHandle

PropertyContainer calls IVRIOBuffer::PropertyContainer.

func (*IVRIOBuffer) Read

func (s *IVRIOBuffer) Read(buffer IOBufferHandle, dst unsafe.Pointer, bytes uint32, read *uint32) EIOBufferError

Read calls IVRIOBuffer::Read.

func (*IVRIOBuffer) Write

func (s *IVRIOBuffer) Write(buffer IOBufferHandle, src unsafe.Pointer, bytes uint32) EIOBufferError

Write calls IVRIOBuffer::Write.

type IVRIPCResourceManagerClient

type IVRIPCResourceManagerClient struct {
	// contains filtered or unexported fields
}

IVRIPCResourceManagerClient wraps the function table of the vr::IVRIPCResourceManagerClient interface. Obtain it with VRIPCResourceManagerClient.

func VRIPCResourceManagerClient

func VRIPCResourceManagerClient() *IVRIPCResourceManagerClient

VRIPCResourceManagerClient returns the IVRIPCResourceManagerClient interface (version IVRIPCResourceManagerClientVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRIPCResourceManagerClient) DestructIVRIPCResourceManagerClient

func (s *IVRIPCResourceManagerClient) DestructIVRIPCResourceManagerClient()

DestructIVRIPCResourceManagerClient calls IVRIPCResourceManagerClient::DestructIVRIPCResourceManagerClient.

func (*IVRIPCResourceManagerClient) GetDmabufFormats

func (s *IVRIPCResourceManagerClient) GetDmabufFormats(outFormatCount *uint32, outFormats *uint32) bool

GetDmabufFormats calls IVRIPCResourceManagerClient::GetDmabufFormats.

func (*IVRIPCResourceManagerClient) GetDmabufModifiers

func (s *IVRIPCResourceManagerClient) GetDmabufModifiers(applicationType EVRApplicationType, drmFormat uint32, outModifierCount *uint32, outModifiers *uint64) bool

GetDmabufModifiers calls IVRIPCResourceManagerClient::GetDmabufModifiers.

func (*IVRIPCResourceManagerClient) ImportDmabuf

func (s *IVRIPCResourceManagerClient) ImportDmabuf(applicationType EVRApplicationType, dmabufAttributes *DmabufAttributes, sharedHandle *SharedTextureHandle) bool

ImportDmabuf calls IVRIPCResourceManagerClient::ImportDmabuf.

func (*IVRIPCResourceManagerClient) NewSharedVulkanBuffer

func (s *IVRIPCResourceManagerClient) NewSharedVulkanBuffer(size uint32, usageFlags uint32, sharedHandle *SharedTextureHandle) bool

NewSharedVulkanBuffer calls IVRIPCResourceManagerClient::NewSharedVulkanBuffer.

func (*IVRIPCResourceManagerClient) NewSharedVulkanImage

func (s *IVRIPCResourceManagerClient) NewSharedVulkanImage(imageFormat uint32, width uint32, height uint32, renderable bool, mappable bool, computeAccess bool, mipLevels uint32, arrayLayerCount uint32, additionalVkCreateFlags uint32, additionalVkUsageFlags uint32, sharedHandle *SharedTextureHandle) bool

NewSharedVulkanImage calls IVRIPCResourceManagerClient::NewSharedVulkanImage.

func (*IVRIPCResourceManagerClient) NewSharedVulkanSemaphore

func (s *IVRIPCResourceManagerClient) NewSharedVulkanSemaphore(counting bool, sharedHandle *SharedTextureHandle) bool

NewSharedVulkanSemaphore calls IVRIPCResourceManagerClient::NewSharedVulkanSemaphore.

func (*IVRIPCResourceManagerClient) ReceiveSharedFd

func (s *IVRIPCResourceManagerClient) ReceiveSharedFd(ipcHandle uint64, outFd *int32) bool

ReceiveSharedFd calls IVRIPCResourceManagerClient::ReceiveSharedFd.

func (*IVRIPCResourceManagerClient) RefResource

func (s *IVRIPCResourceManagerClient) RefResource(sharedHandle SharedTextureHandle, newIpcHandle *uint64) bool

RefResource calls IVRIPCResourceManagerClient::RefResource.

func (*IVRIPCResourceManagerClient) UnrefResource

func (s *IVRIPCResourceManagerClient) UnrefResource(sharedHandle SharedTextureHandle) bool

UnrefResource calls IVRIPCResourceManagerClient::UnrefResource.

type IVRInput

type IVRInput struct {
	// contains filtered or unexported fields
}

IVRInput wraps the function table of the vr::IVRInput interface. Obtain it with VRInput.

func VRInput

func VRInput() *IVRInput

VRInput returns the IVRInput interface (version IVRInputVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRInput) DecompressSkeletalBoneData

func (s *IVRInput) DecompressSkeletalBoneData(compressedBuffer unsafe.Pointer, compressedBufferSize uint32, transformSpace EVRSkeletalTransformSpace, transformArray []VRBoneTransform) EVRInputError

DecompressSkeletalBoneData calls IVRInput::DecompressSkeletalBoneData.

func (*IVRInput) GetActionBindingInfo

func (s *IVRInput) GetActionBindingInfo(action VRActionHandle, originInfo []InputBindingInfo, returnedBindingInfoCount *uint32) EVRInputError

GetActionBindingInfo calls IVRInput::GetActionBindingInfo.

func (*IVRInput) GetActionHandle

func (s *IVRInput) GetActionHandle(actionName string, handle *VRActionHandle) EVRInputError

GetActionHandle calls IVRInput::GetActionHandle.

func (*IVRInput) GetActionOrigins

func (s *IVRInput) GetActionOrigins(actionSetHandle VRActionSetHandle, digitalActionHandle VRActionHandle, originsOut []VRInputValueHandle) EVRInputError

GetActionOrigins calls IVRInput::GetActionOrigins.

func (*IVRInput) GetActionSetHandle

func (s *IVRInput) GetActionSetHandle(actionSetName string, handle *VRActionSetHandle) EVRInputError

GetActionSetHandle calls IVRInput::GetActionSetHandle.

func (*IVRInput) GetAnalogActionData

func (s *IVRInput) GetAnalogActionData(action VRActionHandle, actionData *InputAnalogActionData, restrictToDevice VRInputValueHandle) EVRInputError

GetAnalogActionData calls IVRInput::GetAnalogActionData.

func (*IVRInput) GetBindingVariant

func (s *IVRInput) GetBindingVariant(devicePath VRInputValueHandle) (string, EVRInputError)

GetBindingVariant calls IVRInput::GetBindingVariant.

The string is empty when the call fails.

func (*IVRInput) GetBoneCount

func (s *IVRInput) GetBoneCount(action VRActionHandle, boneCount *uint32) EVRInputError

GetBoneCount calls IVRInput::GetBoneCount.

func (*IVRInput) GetBoneHierarchy

func (s *IVRInput) GetBoneHierarchy(action VRActionHandle, parentIndices []BoneIndex) EVRInputError

GetBoneHierarchy calls IVRInput::GetBoneHierarchy.

func (*IVRInput) GetBoneName

func (s *IVRInput) GetBoneName(action VRActionHandle, boneIndex BoneIndex) (string, EVRInputError)

GetBoneName calls IVRInput::GetBoneName.

The string is empty when the call fails.

func (*IVRInput) GetComponentStateForBinding

func (s *IVRInput) GetComponentStateForBinding(renderModelName string, componentName string, originInfo []InputBindingInfo, componentState *RenderModelComponentState) EVRInputError

GetComponentStateForBinding calls IVRInput::GetComponentStateForBinding.

func (*IVRInput) GetDigitalActionData

func (s *IVRInput) GetDigitalActionData(action VRActionHandle, actionData *InputDigitalActionData, restrictToDevice VRInputValueHandle) EVRInputError

GetDigitalActionData calls IVRInput::GetDigitalActionData.

func (*IVRInput) GetDominantHand

func (s *IVRInput) GetDominantHand(dominantHand *ETrackedControllerRole) EVRInputError

GetDominantHand calls IVRInput::GetDominantHand.

func (*IVRInput) GetEyeTrackingDataForNextFrame

func (s *IVRInput) GetEyeTrackingDataForNextFrame(action VRActionHandle, origin ETrackingUniverseOrigin, eyeTrackingData *VREyeTrackingData) EVRInputError

GetEyeTrackingDataForNextFrame calls IVRInput::GetEyeTrackingDataForNextFrame.

func (*IVRInput) GetEyeTrackingDataRelativeToNow

func (s *IVRInput) GetEyeTrackingDataRelativeToNow(action VRActionHandle, origin ETrackingUniverseOrigin, predictedSecondsFromNow float32, eyeTrackingData *VREyeTrackingData) EVRInputError

GetEyeTrackingDataRelativeToNow calls IVRInput::GetEyeTrackingDataRelativeToNow.

func (*IVRInput) GetInputSourceHandle

func (s *IVRInput) GetInputSourceHandle(inputSourcePath string, handle *VRInputValueHandle) EVRInputError

GetInputSourceHandle calls IVRInput::GetInputSourceHandle.

func (*IVRInput) GetOriginLocalizedName

func (s *IVRInput) GetOriginLocalizedName(origin VRInputValueHandle, stringSectionsToInclude int32) (string, EVRInputError)

GetOriginLocalizedName calls IVRInput::GetOriginLocalizedName.

The string is empty when the call fails.

func (*IVRInput) GetOriginTrackedDeviceInfo

func (s *IVRInput) GetOriginTrackedDeviceInfo(origin VRInputValueHandle, originInfo *InputOriginInfo) EVRInputError

GetOriginTrackedDeviceInfo calls IVRInput::GetOriginTrackedDeviceInfo.

func (*IVRInput) GetPoseActionDataForNextFrame

func (s *IVRInput) GetPoseActionDataForNextFrame(action VRActionHandle, origin ETrackingUniverseOrigin, actionData *InputPoseActionData, restrictToDevice VRInputValueHandle) EVRInputError

GetPoseActionDataForNextFrame calls IVRInput::GetPoseActionDataForNextFrame.

func (*IVRInput) GetPoseActionDataRelativeToNow

func (s *IVRInput) GetPoseActionDataRelativeToNow(action VRActionHandle, origin ETrackingUniverseOrigin, predictedSecondsFromNow float32, actionData *InputPoseActionData, restrictToDevice VRInputValueHandle) EVRInputError

GetPoseActionDataRelativeToNow calls IVRInput::GetPoseActionDataRelativeToNow.

func (*IVRInput) GetSkeletalActionData

func (s *IVRInput) GetSkeletalActionData(action VRActionHandle, actionData *InputSkeletalActionData) EVRInputError

GetSkeletalActionData calls IVRInput::GetSkeletalActionData.

func (*IVRInput) GetSkeletalBoneData

func (s *IVRInput) GetSkeletalBoneData(action VRActionHandle, transformSpace EVRSkeletalTransformSpace, motionRange EVRSkeletalMotionRange, transformArray []VRBoneTransform) EVRInputError

GetSkeletalBoneData calls IVRInput::GetSkeletalBoneData.

func (*IVRInput) GetSkeletalBoneDataCompressed

func (s *IVRInput) GetSkeletalBoneDataCompressed(action VRActionHandle, motionRange EVRSkeletalMotionRange, compressedData []byte, requiredCompressedSize *uint32) EVRInputError

GetSkeletalBoneDataCompressed calls IVRInput::GetSkeletalBoneDataCompressed.

func (*IVRInput) GetSkeletalReferenceTransforms

func (s *IVRInput) GetSkeletalReferenceTransforms(action VRActionHandle, transformSpace EVRSkeletalTransformSpace, referencePose EVRSkeletalReferencePose, transformArray []VRBoneTransform) EVRInputError

GetSkeletalReferenceTransforms calls IVRInput::GetSkeletalReferenceTransforms.

func (*IVRInput) GetSkeletalSummaryData

func (s *IVRInput) GetSkeletalSummaryData(action VRActionHandle, summaryType EVRSummaryType, skeletalSummaryData *VRSkeletalSummaryData) EVRInputError

GetSkeletalSummaryData calls IVRInput::GetSkeletalSummaryData.

func (*IVRInput) GetSkeletalTrackingLevel

func (s *IVRInput) GetSkeletalTrackingLevel(action VRActionHandle, skeletalTrackingLevel *EVRSkeletalTrackingLevel) EVRInputError

GetSkeletalTrackingLevel calls IVRInput::GetSkeletalTrackingLevel.

func (*IVRInput) IsUsingLegacyInput

func (s *IVRInput) IsUsingLegacyInput() bool

IsUsingLegacyInput calls IVRInput::IsUsingLegacyInput.

func (*IVRInput) OpenBindingUI

func (s *IVRInput) OpenBindingUI(appKey string, actionSetHandle VRActionSetHandle, deviceHandle VRInputValueHandle, showOnDesktop bool) EVRInputError

OpenBindingUI calls IVRInput::OpenBindingUI.

func (*IVRInput) SetActionManifestPath

func (s *IVRInput) SetActionManifestPath(actionManifestPath string) EVRInputError

SetActionManifestPath calls IVRInput::SetActionManifestPath.

func (*IVRInput) SetDominantHand

func (s *IVRInput) SetDominantHand(dominantHand ETrackedControllerRole) EVRInputError

SetDominantHand calls IVRInput::SetDominantHand.

func (*IVRInput) ShowActionOrigins

func (s *IVRInput) ShowActionOrigins(actionSetHandle VRActionSetHandle, actionHandle VRActionHandle) EVRInputError

ShowActionOrigins calls IVRInput::ShowActionOrigins.

func (*IVRInput) ShowBindingsForActionSet

func (s *IVRInput) ShowBindingsForActionSet(sets []VRActiveActionSet, originToHighlight VRInputValueHandle) EVRInputError

ShowBindingsForActionSet calls IVRInput::ShowBindingsForActionSet.

func (*IVRInput) TriggerHapticVibrationAction

func (s *IVRInput) TriggerHapticVibrationAction(action VRActionHandle, startSecondsFromNow float32, durationSeconds float32, frequency float32, amplitude float32, restrictToDevice VRInputValueHandle) EVRInputError

TriggerHapticVibrationAction calls IVRInput::TriggerHapticVibrationAction.

func (*IVRInput) UpdateActionState

func (s *IVRInput) UpdateActionState(sets []VRActiveActionSet) EVRInputError

UpdateActionState calls IVRInput::UpdateActionState.

type IVRNotifications

type IVRNotifications struct {
	// contains filtered or unexported fields
}

IVRNotifications wraps the function table of the vr::IVRNotifications interface. Obtain it with VRNotifications.

func VRNotifications

func VRNotifications() *IVRNotifications

VRNotifications returns the IVRNotifications interface (version IVRNotificationsVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRNotifications) CreateNotification

func (s *IVRNotifications) CreateNotification(overlayHandle VROverlayHandle, userValue uint64, type_ EVRNotificationType, text string, style EVRNotificationStyle, image *NotificationBitmap, notificationId *VRNotificationId) EVRNotificationError

CreateNotification calls IVRNotifications::CreateNotification.

func (*IVRNotifications) RemoveNotification

func (s *IVRNotifications) RemoveNotification(notificationId VRNotificationId) EVRNotificationError

RemoveNotification calls IVRNotifications::RemoveNotification.

type IVROverlay

type IVROverlay struct {
	// contains filtered or unexported fields
}

IVROverlay wraps the function table of the vr::IVROverlay interface. Obtain it with VROverlay.

func VROverlay

func VROverlay() *IVROverlay

VROverlay returns the IVROverlay interface (version IVROverlayVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVROverlay) ClearOverlayCursorPositionOverride

func (s *IVROverlay) ClearOverlayCursorPositionOverride(overlayHandle VROverlayHandle) EVROverlayError

ClearOverlayCursorPositionOverride calls IVROverlay::ClearOverlayCursorPositionOverride.

func (*IVROverlay) ClearOverlayTexture

func (s *IVROverlay) ClearOverlayTexture(overlayHandle VROverlayHandle) EVROverlayError

ClearOverlayTexture calls IVROverlay::ClearOverlayTexture.

func (*IVROverlay) CloseMessageOverlay

func (s *IVROverlay) CloseMessageOverlay()

CloseMessageOverlay calls IVROverlay::CloseMessageOverlay.

func (*IVROverlay) ComputeOverlayIntersection

func (s *IVROverlay) ComputeOverlayIntersection(overlayHandle VROverlayHandle, params *VROverlayIntersectionParams, results *VROverlayIntersectionResults) bool

ComputeOverlayIntersection calls IVROverlay::ComputeOverlayIntersection.

func (*IVROverlay) CreateDashboardOverlay

func (s *IVROverlay) CreateDashboardOverlay(overlayKey string, overlayFriendlyName string, mainHandle *VROverlayHandle, thumbnailHandle *VROverlayHandle) EVROverlayError

CreateDashboardOverlay calls IVROverlay::CreateDashboardOverlay.

func (*IVROverlay) CreateOverlay

func (s *IVROverlay) CreateOverlay(overlayKey string, overlayName string, overlayHandle *VROverlayHandle) EVROverlayError

CreateOverlay calls IVROverlay::CreateOverlay.

func (*IVROverlay) CreateSubviewOverlay

func (s *IVROverlay) CreateSubviewOverlay(parentOverlayHandle VROverlayHandle, subviewOverlayKey string, subviewOverlayName string, subviewOverlayHandle *VROverlayHandle) EVROverlayError

CreateSubviewOverlay calls IVROverlay::CreateSubviewOverlay.

func (*IVROverlay) DestroyOverlay

func (s *IVROverlay) DestroyOverlay(overlayHandle VROverlayHandle) EVROverlayError

DestroyOverlay calls IVROverlay::DestroyOverlay.

func (*IVROverlay) FindOverlay

func (s *IVROverlay) FindOverlay(overlayKey string, overlayHandle *VROverlayHandle) EVROverlayError

FindOverlay calls IVROverlay::FindOverlay.

func (*IVROverlay) GetDashboardOverlaySceneProcess

func (s *IVROverlay) GetDashboardOverlaySceneProcess(overlayHandle VROverlayHandle, processId *uint32) EVROverlayError

GetDashboardOverlaySceneProcess calls IVROverlay::GetDashboardOverlaySceneProcess.

func (*IVROverlay) GetKeyboardText

func (s *IVROverlay) GetKeyboardText() string

GetKeyboardText calls IVROverlay::GetKeyboardText.

func (*IVROverlay) GetOverlayAlpha

func (s *IVROverlay) GetOverlayAlpha(overlayHandle VROverlayHandle, alpha *float32) EVROverlayError

GetOverlayAlpha calls IVROverlay::GetOverlayAlpha.

func (*IVROverlay) GetOverlayColor

func (s *IVROverlay) GetOverlayColor(overlayHandle VROverlayHandle, red *float32, green *float32, blue *float32) EVROverlayError

GetOverlayColor calls IVROverlay::GetOverlayColor.

func (*IVROverlay) GetOverlayCurvature

func (s *IVROverlay) GetOverlayCurvature(overlayHandle VROverlayHandle, curvature *float32) EVROverlayError

GetOverlayCurvature calls IVROverlay::GetOverlayCurvature.

func (*IVROverlay) GetOverlayErrorNameFromEnum

func (s *IVROverlay) GetOverlayErrorNameFromEnum(err EVROverlayError) string

GetOverlayErrorNameFromEnum calls IVROverlay::GetOverlayErrorNameFromEnum.

func (*IVROverlay) GetOverlayFlag

func (s *IVROverlay) GetOverlayFlag(overlayHandle VROverlayHandle, overlayFlag VROverlayFlags, enabled *bool) EVROverlayError

GetOverlayFlag calls IVROverlay::GetOverlayFlag.

func (*IVROverlay) GetOverlayFlags

func (s *IVROverlay) GetOverlayFlags(overlayHandle VROverlayHandle, flags *uint32) EVROverlayError

GetOverlayFlags calls IVROverlay::GetOverlayFlags.

func (*IVROverlay) GetOverlayImageData

func (s *IVROverlay) GetOverlayImageData(overlayHandle VROverlayHandle, buffer unsafe.Pointer, bufferSize uint32, width *uint32, height *uint32) EVROverlayError

GetOverlayImageData calls IVROverlay::GetOverlayImageData.

func (*IVROverlay) GetOverlayInputMethod

func (s *IVROverlay) GetOverlayInputMethod(overlayHandle VROverlayHandle, inputMethod *VROverlayInputMethod) EVROverlayError

GetOverlayInputMethod calls IVROverlay::GetOverlayInputMethod.

func (*IVROverlay) GetOverlayKey

func (s *IVROverlay) GetOverlayKey(overlayHandle VROverlayHandle, err *EVROverlayError) string

GetOverlayKey calls IVROverlay::GetOverlayKey.

func (*IVROverlay) GetOverlayMouseScale

func (s *IVROverlay) GetOverlayMouseScale(overlayHandle VROverlayHandle, pvecMouseScale *HmdVector2) EVROverlayError

GetOverlayMouseScale calls IVROverlay::GetOverlayMouseScale.

func (*IVROverlay) GetOverlayName

func (s *IVROverlay) GetOverlayName(overlayHandle VROverlayHandle, err *EVROverlayError) string

GetOverlayName calls IVROverlay::GetOverlayName.

func (*IVROverlay) GetOverlayPreCurvePitch

func (s *IVROverlay) GetOverlayPreCurvePitch(overlayHandle VROverlayHandle, radians *float32) EVROverlayError

GetOverlayPreCurvePitch calls IVROverlay::GetOverlayPreCurvePitch.

func (*IVROverlay) GetOverlayRenderingPid

func (s *IVROverlay) GetOverlayRenderingPid(overlayHandle VROverlayHandle) uint32

GetOverlayRenderingPid calls IVROverlay::GetOverlayRenderingPid.

func (*IVROverlay) GetOverlaySortOrder

func (s *IVROverlay) GetOverlaySortOrder(overlayHandle VROverlayHandle, sortOrder *uint32) EVROverlayError

GetOverlaySortOrder calls IVROverlay::GetOverlaySortOrder.

func (*IVROverlay) GetOverlayTexelAspect

func (s *IVROverlay) GetOverlayTexelAspect(overlayHandle VROverlayHandle, texelAspect *float32) EVROverlayError

GetOverlayTexelAspect calls IVROverlay::GetOverlayTexelAspect.

func (*IVROverlay) GetOverlayTexture

func (s *IVROverlay) GetOverlayTexture(overlayHandle VROverlayHandle, nativeTextureHandle *unsafe.Pointer, nativeTextureRef unsafe.Pointer, width *uint32, height *uint32, nativeFormat *uint32, apiType *ETextureType, colorSpace *EColorSpace, textureBounds *VRTextureBounds) EVROverlayError

GetOverlayTexture calls IVROverlay::GetOverlayTexture.

func (*IVROverlay) GetOverlayTextureBounds

func (s *IVROverlay) GetOverlayTextureBounds(overlayHandle VROverlayHandle, overlayTextureBounds *VRTextureBounds) EVROverlayError

GetOverlayTextureBounds calls IVROverlay::GetOverlayTextureBounds.

func (*IVROverlay) GetOverlayTextureColorSpace

func (s *IVROverlay) GetOverlayTextureColorSpace(overlayHandle VROverlayHandle, textureColorSpace *EColorSpace) EVROverlayError

GetOverlayTextureColorSpace calls IVROverlay::GetOverlayTextureColorSpace.

func (*IVROverlay) GetOverlayTextureSize

func (s *IVROverlay) GetOverlayTextureSize(overlayHandle VROverlayHandle, width *uint32, height *uint32) EVROverlayError

GetOverlayTextureSize calls IVROverlay::GetOverlayTextureSize.

func (*IVROverlay) GetOverlayTransformAbsolute

func (s *IVROverlay) GetOverlayTransformAbsolute(overlayHandle VROverlayHandle, trackingOrigin *ETrackingUniverseOrigin, trackingOriginToOverlayTransform *HmdMatrix34) EVROverlayError

GetOverlayTransformAbsolute calls IVROverlay::GetOverlayTransformAbsolute.

func (*IVROverlay) GetOverlayTransformCursor

func (s *IVROverlay) GetOverlayTransformCursor(overlayHandle VROverlayHandle, hotspot *HmdVector2) EVROverlayError

GetOverlayTransformCursor calls IVROverlay::GetOverlayTransformCursor.

func (*IVROverlay) GetOverlayTransformTrackedDeviceComponent

func (s *IVROverlay) GetOverlayTransformTrackedDeviceComponent(overlayHandle VROverlayHandle, deviceIndex *TrackedDeviceIndex) (string, EVROverlayError)

GetOverlayTransformTrackedDeviceComponent calls IVROverlay::GetOverlayTransformTrackedDeviceComponent.

The string is empty when the call fails.

func (*IVROverlay) GetOverlayTransformTrackedDeviceRelative

func (s *IVROverlay) GetOverlayTransformTrackedDeviceRelative(overlayHandle VROverlayHandle, trackedDevice *TrackedDeviceIndex, trackedDeviceToOverlayTransform *HmdMatrix34) EVROverlayError

GetOverlayTransformTrackedDeviceRelative calls IVROverlay::GetOverlayTransformTrackedDeviceRelative.

func (*IVROverlay) GetOverlayTransformType

func (s *IVROverlay) GetOverlayTransformType(overlayHandle VROverlayHandle, transformType *VROverlayTransformType) EVROverlayError

GetOverlayTransformType calls IVROverlay::GetOverlayTransformType.

func (*IVROverlay) GetOverlayWidthInMeters

func (s *IVROverlay) GetOverlayWidthInMeters(overlayHandle VROverlayHandle, widthInMeters *float32) EVROverlayError

GetOverlayWidthInMeters calls IVROverlay::GetOverlayWidthInMeters.

func (*IVROverlay) GetPrimaryDashboardDevice

func (s *IVROverlay) GetPrimaryDashboardDevice() TrackedDeviceIndex

GetPrimaryDashboardDevice calls IVROverlay::GetPrimaryDashboardDevice.

func (*IVROverlay) GetTransformForOverlayCoordinates

func (s *IVROverlay) GetTransformForOverlayCoordinates(overlayHandle VROverlayHandle, trackingOrigin ETrackingUniverseOrigin, coordinatesInOverlay HmdVector2, transform *HmdMatrix34) EVROverlayError

GetTransformForOverlayCoordinates calls IVROverlay::GetTransformForOverlayCoordinates.

func (*IVROverlay) HideKeyboard

func (s *IVROverlay) HideKeyboard()

HideKeyboard calls IVROverlay::HideKeyboard.

func (*IVROverlay) HideOverlay

func (s *IVROverlay) HideOverlay(overlayHandle VROverlayHandle) EVROverlayError

HideOverlay calls IVROverlay::HideOverlay.

func (*IVROverlay) IsActiveDashboardOverlay

func (s *IVROverlay) IsActiveDashboardOverlay(overlayHandle VROverlayHandle) bool

IsActiveDashboardOverlay calls IVROverlay::IsActiveDashboardOverlay.

func (*IVROverlay) IsDashboardVisible

func (s *IVROverlay) IsDashboardVisible() bool

IsDashboardVisible calls IVROverlay::IsDashboardVisible.

func (*IVROverlay) IsHoverTargetOverlay

func (s *IVROverlay) IsHoverTargetOverlay(overlayHandle VROverlayHandle) bool

IsHoverTargetOverlay calls IVROverlay::IsHoverTargetOverlay.

func (*IVROverlay) IsOverlayVisible

func (s *IVROverlay) IsOverlayVisible(overlayHandle VROverlayHandle) bool

IsOverlayVisible calls IVROverlay::IsOverlayVisible.

func (*IVROverlay) PollNextOverlayEvent

func (s *IVROverlay) PollNextOverlayEvent(overlayHandle VROverlayHandle, event *VREvent) bool

PollNextOverlayEvent calls IVROverlay::PollNextOverlayEvent.

func (*IVROverlay) ReleaseNativeOverlayHandle

func (s *IVROverlay) ReleaseNativeOverlayHandle(overlayHandle VROverlayHandle, nativeTextureHandle unsafe.Pointer) EVROverlayError

ReleaseNativeOverlayHandle calls IVROverlay::ReleaseNativeOverlayHandle.

func (*IVROverlay) SetDashboardOverlaySceneProcess

func (s *IVROverlay) SetDashboardOverlaySceneProcess(overlayHandle VROverlayHandle, processId uint32) EVROverlayError

SetDashboardOverlaySceneProcess calls IVROverlay::SetDashboardOverlaySceneProcess.

func (*IVROverlay) SetKeyboardPositionForOverlay

func (s *IVROverlay) SetKeyboardPositionForOverlay(overlayHandle VROverlayHandle, avoidRect HmdRect2)

SetKeyboardPositionForOverlay calls IVROverlay::SetKeyboardPositionForOverlay.

func (*IVROverlay) SetKeyboardTransformAbsolute

func (s *IVROverlay) SetKeyboardTransformAbsolute(trackingOrigin ETrackingUniverseOrigin, trackingOriginToKeyboardTransform *HmdMatrix34)

SetKeyboardTransformAbsolute calls IVROverlay::SetKeyboardTransformAbsolute.

func (*IVROverlay) SetOverlayAlpha

func (s *IVROverlay) SetOverlayAlpha(overlayHandle VROverlayHandle, alpha float32) EVROverlayError

SetOverlayAlpha calls IVROverlay::SetOverlayAlpha.

func (*IVROverlay) SetOverlayColor

func (s *IVROverlay) SetOverlayColor(overlayHandle VROverlayHandle, red float32, green float32, blue float32) EVROverlayError

SetOverlayColor calls IVROverlay::SetOverlayColor.

func (*IVROverlay) SetOverlayCursor

func (s *IVROverlay) SetOverlayCursor(overlayHandle VROverlayHandle, cursorHandle VROverlayHandle) EVROverlayError

SetOverlayCursor calls IVROverlay::SetOverlayCursor.

func (*IVROverlay) SetOverlayCursorPositionOverride

func (s *IVROverlay) SetOverlayCursorPositionOverride(overlayHandle VROverlayHandle, cursor *HmdVector2) EVROverlayError

SetOverlayCursorPositionOverride calls IVROverlay::SetOverlayCursorPositionOverride.

func (*IVROverlay) SetOverlayCurvature

func (s *IVROverlay) SetOverlayCurvature(overlayHandle VROverlayHandle, curvature float32) EVROverlayError

SetOverlayCurvature calls IVROverlay::SetOverlayCurvature.

func (*IVROverlay) SetOverlayFlag

func (s *IVROverlay) SetOverlayFlag(overlayHandle VROverlayHandle, overlayFlag VROverlayFlags, enabled bool) EVROverlayError

SetOverlayFlag calls IVROverlay::SetOverlayFlag.

func (*IVROverlay) SetOverlayFromFile

func (s *IVROverlay) SetOverlayFromFile(overlayHandle VROverlayHandle, filePath string) EVROverlayError

SetOverlayFromFile calls IVROverlay::SetOverlayFromFile.

func (*IVROverlay) SetOverlayInputMethod

func (s *IVROverlay) SetOverlayInputMethod(overlayHandle VROverlayHandle, inputMethod VROverlayInputMethod) EVROverlayError

SetOverlayInputMethod calls IVROverlay::SetOverlayInputMethod.

func (*IVROverlay) SetOverlayIntersectionMask

func (s *IVROverlay) SetOverlayIntersectionMask(overlayHandle VROverlayHandle, maskPrimitives []VROverlayIntersectionMaskPrimitive) EVROverlayError

SetOverlayIntersectionMask calls IVROverlay::SetOverlayIntersectionMask.

func (*IVROverlay) SetOverlayMouseScale

func (s *IVROverlay) SetOverlayMouseScale(overlayHandle VROverlayHandle, pvecMouseScale *HmdVector2) EVROverlayError

SetOverlayMouseScale calls IVROverlay::SetOverlayMouseScale.

func (*IVROverlay) SetOverlayName

func (s *IVROverlay) SetOverlayName(overlayHandle VROverlayHandle, name string) EVROverlayError

SetOverlayName calls IVROverlay::SetOverlayName.

func (*IVROverlay) SetOverlayPreCurvePitch

func (s *IVROverlay) SetOverlayPreCurvePitch(overlayHandle VROverlayHandle, radians float32) EVROverlayError

SetOverlayPreCurvePitch calls IVROverlay::SetOverlayPreCurvePitch.

func (*IVROverlay) SetOverlayRaw

func (s *IVROverlay) SetOverlayRaw(overlayHandle VROverlayHandle, buffer unsafe.Pointer, width uint32, height uint32, bytesPerPixel uint32) EVROverlayError

SetOverlayRaw calls IVROverlay::SetOverlayRaw.

func (*IVROverlay) SetOverlayRenderingPid

func (s *IVROverlay) SetOverlayRenderingPid(overlayHandle VROverlayHandle, pid uint32) EVROverlayError

SetOverlayRenderingPid calls IVROverlay::SetOverlayRenderingPid.

func (*IVROverlay) SetOverlaySortOrder

func (s *IVROverlay) SetOverlaySortOrder(overlayHandle VROverlayHandle, sortOrder uint32) EVROverlayError

SetOverlaySortOrder calls IVROverlay::SetOverlaySortOrder.

func (*IVROverlay) SetOverlayTexelAspect

func (s *IVROverlay) SetOverlayTexelAspect(overlayHandle VROverlayHandle, texelAspect float32) EVROverlayError

SetOverlayTexelAspect calls IVROverlay::SetOverlayTexelAspect.

func (*IVROverlay) SetOverlayTexture

func (s *IVROverlay) SetOverlayTexture(overlayHandle VROverlayHandle, texture *Texture) EVROverlayError

SetOverlayTexture calls IVROverlay::SetOverlayTexture.

func (*IVROverlay) SetOverlayTextureBounds

func (s *IVROverlay) SetOverlayTextureBounds(overlayHandle VROverlayHandle, overlayTextureBounds *VRTextureBounds) EVROverlayError

SetOverlayTextureBounds calls IVROverlay::SetOverlayTextureBounds.

func (*IVROverlay) SetOverlayTextureColorSpace

func (s *IVROverlay) SetOverlayTextureColorSpace(overlayHandle VROverlayHandle, textureColorSpace EColorSpace) EVROverlayError

SetOverlayTextureColorSpace calls IVROverlay::SetOverlayTextureColorSpace.

func (*IVROverlay) SetOverlayTransformAbsolute

func (s *IVROverlay) SetOverlayTransformAbsolute(overlayHandle VROverlayHandle, trackingOrigin ETrackingUniverseOrigin, trackingOriginToOverlayTransform *HmdMatrix34) EVROverlayError

SetOverlayTransformAbsolute calls IVROverlay::SetOverlayTransformAbsolute.

func (*IVROverlay) SetOverlayTransformCursor

func (s *IVROverlay) SetOverlayTransformCursor(cursorOverlayHandle VROverlayHandle, hotspot *HmdVector2) EVROverlayError

SetOverlayTransformCursor calls IVROverlay::SetOverlayTransformCursor.

func (*IVROverlay) SetOverlayTransformProjection

func (s *IVROverlay) SetOverlayTransformProjection(overlayHandle VROverlayHandle, trackingOrigin ETrackingUniverseOrigin, trackingOriginToOverlayTransform *HmdMatrix34, projection *VROverlayProjection, eye EVREye) EVROverlayError

SetOverlayTransformProjection calls IVROverlay::SetOverlayTransformProjection.

func (*IVROverlay) SetOverlayTransformTrackedDeviceComponent

func (s *IVROverlay) SetOverlayTransformTrackedDeviceComponent(overlayHandle VROverlayHandle, deviceIndex TrackedDeviceIndex, componentName string) EVROverlayError

SetOverlayTransformTrackedDeviceComponent calls IVROverlay::SetOverlayTransformTrackedDeviceComponent.

func (*IVROverlay) SetOverlayTransformTrackedDeviceRelative

func (s *IVROverlay) SetOverlayTransformTrackedDeviceRelative(overlayHandle VROverlayHandle, trackedDevice TrackedDeviceIndex, trackedDeviceToOverlayTransform *HmdMatrix34) EVROverlayError

SetOverlayTransformTrackedDeviceRelative calls IVROverlay::SetOverlayTransformTrackedDeviceRelative.

func (*IVROverlay) SetOverlayWidthInMeters

func (s *IVROverlay) SetOverlayWidthInMeters(overlayHandle VROverlayHandle, widthInMeters float32) EVROverlayError

SetOverlayWidthInMeters calls IVROverlay::SetOverlayWidthInMeters.

func (*IVROverlay) SetSubviewPosition

func (s *IVROverlay) SetSubviewPosition(overlayHandle VROverlayHandle, x float32, y float32) EVROverlayError

SetSubviewPosition calls IVROverlay::SetSubviewPosition.

func (*IVROverlay) ShowDashboard

func (s *IVROverlay) ShowDashboard(overlayToShow string)

ShowDashboard calls IVROverlay::ShowDashboard.

func (*IVROverlay) ShowKeyboard

func (s *IVROverlay) ShowKeyboard(inputMode EGamepadTextInputMode, lineInputMode EGamepadTextInputLineMode, flags uint32, description string, charMax uint32, existingText string, userValue uint64) EVROverlayError

ShowKeyboard calls IVROverlay::ShowKeyboard.

func (*IVROverlay) ShowKeyboardForOverlay

func (s *IVROverlay) ShowKeyboardForOverlay(overlayHandle VROverlayHandle, inputMode EGamepadTextInputMode, lineInputMode EGamepadTextInputLineMode, flags uint32, description string, charMax uint32, existingText string, userValue uint64) EVROverlayError

ShowKeyboardForOverlay calls IVROverlay::ShowKeyboardForOverlay.

func (*IVROverlay) ShowMessageOverlay

func (s *IVROverlay) ShowMessageOverlay(text string, caption string, button0Text string, button1Text string, button2Text string, button3Text string) VRMessageOverlayResponse

ShowMessageOverlay calls IVROverlay::ShowMessageOverlay.

func (*IVROverlay) ShowOverlay

func (s *IVROverlay) ShowOverlay(overlayHandle VROverlayHandle) EVROverlayError

ShowOverlay calls IVROverlay::ShowOverlay.

func (*IVROverlay) TriggerLaserMouseHapticVibration

func (s *IVROverlay) TriggerLaserMouseHapticVibration(overlayHandle VROverlayHandle, durationSeconds float32, frequency float32, amplitude float32) EVROverlayError

TriggerLaserMouseHapticVibration calls IVROverlay::TriggerLaserMouseHapticVibration.

func (*IVROverlay) WaitFrameSync

func (s *IVROverlay) WaitFrameSync(timeoutMs uint32) EVROverlayError

WaitFrameSync calls IVROverlay::WaitFrameSync.

type IVROverlayView

type IVROverlayView struct {
	// contains filtered or unexported fields
}

IVROverlayView wraps the function table of the vr::IVROverlayView interface. Obtain it with VROverlayView.

func VROverlayView

func VROverlayView() *IVROverlayView

VROverlayView returns the IVROverlayView interface (version IVROverlayViewVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVROverlayView) AcquireOverlayView

func (s *IVROverlayView) AcquireOverlayView(overlayHandle VROverlayHandle, nativeDevice *VRNativeDevice, overlayView *VROverlayViewInfo) EVROverlayError

AcquireOverlayView calls IVROverlayView::AcquireOverlayView.

func (*IVROverlayView) IsViewingPermitted

func (s *IVROverlayView) IsViewingPermitted(overlayHandle VROverlayHandle) bool

IsViewingPermitted calls IVROverlayView::IsViewingPermitted.

func (*IVROverlayView) PostOverlayEvent

func (s *IVROverlayView) PostOverlayEvent(overlayHandle VROverlayHandle, event *VREvent)

PostOverlayEvent calls IVROverlayView::PostOverlayEvent.

func (*IVROverlayView) ReleaseOverlayView

func (s *IVROverlayView) ReleaseOverlayView(overlayView *VROverlayViewInfo) EVROverlayError

ReleaseOverlayView calls IVROverlayView::ReleaseOverlayView.

type IVRPaths

type IVRPaths struct {
	// contains filtered or unexported fields
}

IVRPaths wraps the function table of the vr::IVRPaths interface. Obtain it with VRPaths.

func VRPaths

func VRPaths() *IVRPaths

VRPaths returns the IVRPaths interface (version IVRPathsVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRPaths) HandleToString

func (s *IVRPaths) HandleToString(handle PathHandle, buffer *byte, bufferSize uint32, bufferSizeUsed *uint32) ETrackedPropertyError

HandleToString calls IVRPaths::HandleToString.

func (*IVRPaths) ReadPathBatch

func (s *IVRPaths) ReadPathBatch(rootHandle PropertyContainerHandle, batch *PathRead, batchEntryCount uint32) ETrackedPropertyError

ReadPathBatch calls IVRPaths::ReadPathBatch.

func (*IVRPaths) StringToHandle

func (s *IVRPaths) StringToHandle(handle *PathHandle, path string) ETrackedPropertyError

StringToHandle calls IVRPaths::StringToHandle.

func (*IVRPaths) WritePathBatch

func (s *IVRPaths) WritePathBatch(rootHandle PropertyContainerHandle, batch *PathWrite, batchEntryCount uint32) ETrackedPropertyError

WritePathBatch calls IVRPaths::WritePathBatch.

type IVRProperties

type IVRProperties struct {
	// contains filtered or unexported fields
}

IVRProperties wraps the function table of the vr::IVRProperties interface. Obtain it with VRProperties.

func VRProperties

func VRProperties() *IVRProperties

VRProperties returns the IVRProperties interface (version IVRPropertiesVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRProperties) GetPropErrorNameFromEnum

func (s *IVRProperties) GetPropErrorNameFromEnum(err ETrackedPropertyError) string

GetPropErrorNameFromEnum calls IVRProperties::GetPropErrorNameFromEnum.

func (*IVRProperties) ReadPropertyBatch

func (s *IVRProperties) ReadPropertyBatch(containerHandle PropertyContainerHandle, batch *PropertyRead, batchEntryCount uint32) ETrackedPropertyError

ReadPropertyBatch calls IVRProperties::ReadPropertyBatch.

func (*IVRProperties) TrackedDeviceToPropertyContainer

func (s *IVRProperties) TrackedDeviceToPropertyContainer(device TrackedDeviceIndex) PropertyContainerHandle

TrackedDeviceToPropertyContainer calls IVRProperties::TrackedDeviceToPropertyContainer.

func (*IVRProperties) WritePropertyBatch

func (s *IVRProperties) WritePropertyBatch(containerHandle PropertyContainerHandle, batch *PropertyWrite, batchEntryCount uint32) ETrackedPropertyError

WritePropertyBatch calls IVRProperties::WritePropertyBatch.

type IVRRenderModels

type IVRRenderModels struct {
	// contains filtered or unexported fields
}

IVRRenderModels wraps the function table of the vr::IVRRenderModels interface. Obtain it with VRRenderModels.

func VRRenderModels

func VRRenderModels() *IVRRenderModels

VRRenderModels returns the IVRRenderModels interface (version IVRRenderModelsVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRRenderModels) FreeRenderModel

func (s *IVRRenderModels) FreeRenderModel(renderModel *RenderModel)

FreeRenderModel calls IVRRenderModels::FreeRenderModel.

func (*IVRRenderModels) FreeTexture

func (s *IVRRenderModels) FreeTexture(texture *RenderModelTextureMap)

FreeTexture calls IVRRenderModels::FreeTexture.

func (*IVRRenderModels) FreeTextureD3D11

func (s *IVRRenderModels) FreeTextureD3D11(d3D11Texture2D unsafe.Pointer)

FreeTextureD3D11 calls IVRRenderModels::FreeTextureD3D11.

func (*IVRRenderModels) GetComponentButtonMask

func (s *IVRRenderModels) GetComponentButtonMask(renderModelName string, componentName string) uint64

GetComponentButtonMask calls IVRRenderModels::GetComponentButtonMask.

func (*IVRRenderModels) GetComponentCount

func (s *IVRRenderModels) GetComponentCount(renderModelName string) uint32

GetComponentCount calls IVRRenderModels::GetComponentCount.

func (*IVRRenderModels) GetComponentName

func (s *IVRRenderModels) GetComponentName(renderModelName string, componentIndex uint32) string

GetComponentName calls IVRRenderModels::GetComponentName.

func (*IVRRenderModels) GetComponentRenderModelName

func (s *IVRRenderModels) GetComponentRenderModelName(renderModelName string, componentName string) string

GetComponentRenderModelName calls IVRRenderModels::GetComponentRenderModelName.

func (*IVRRenderModels) GetComponentState

func (s *IVRRenderModels) GetComponentState(renderModelName string, componentName string, controllerState *VRControllerState, state *RenderModelControllerModeState, componentState *RenderModelComponentState) bool

GetComponentState calls IVRRenderModels::GetComponentState.

func (*IVRRenderModels) GetComponentStateForDevicePath

func (s *IVRRenderModels) GetComponentStateForDevicePath(renderModelName string, componentName string, devicePath VRInputValueHandle, state *RenderModelControllerModeState, componentState *RenderModelComponentState) bool

GetComponentStateForDevicePath calls IVRRenderModels::GetComponentStateForDevicePath.

func (*IVRRenderModels) GetRenderModelCount

func (s *IVRRenderModels) GetRenderModelCount() uint32

GetRenderModelCount calls IVRRenderModels::GetRenderModelCount.

func (*IVRRenderModels) GetRenderModelErrorNameFromEnum

func (s *IVRRenderModels) GetRenderModelErrorNameFromEnum(err EVRRenderModelError) string

GetRenderModelErrorNameFromEnum calls IVRRenderModels::GetRenderModelErrorNameFromEnum.

func (*IVRRenderModels) GetRenderModelName

func (s *IVRRenderModels) GetRenderModelName(renderModelIndex uint32) string

GetRenderModelName calls IVRRenderModels::GetRenderModelName.

func (*IVRRenderModels) GetRenderModelOriginalPath

func (s *IVRRenderModels) GetRenderModelOriginalPath(renderModelName string, err *EVRRenderModelError) string

GetRenderModelOriginalPath calls IVRRenderModels::GetRenderModelOriginalPath.

func (*IVRRenderModels) GetRenderModelThumbnailURL

func (s *IVRRenderModels) GetRenderModelThumbnailURL(renderModelName string, err *EVRRenderModelError) string

GetRenderModelThumbnailURL calls IVRRenderModels::GetRenderModelThumbnailURL.

func (*IVRRenderModels) LoadIntoTextureD3D11_Async

func (s *IVRRenderModels) LoadIntoTextureD3D11_Async(textureId TextureID, dstTexture unsafe.Pointer) EVRRenderModelError

LoadIntoTextureD3D11_Async calls IVRRenderModels::LoadIntoTextureD3D11_Async.

func (*IVRRenderModels) LoadRenderModel_Async

func (s *IVRRenderModels) LoadRenderModel_Async(renderModelName string, renderModel **RenderModel) EVRRenderModelError

LoadRenderModel_Async calls IVRRenderModels::LoadRenderModel_Async.

func (*IVRRenderModels) LoadTextureD3D11_Async

func (s *IVRRenderModels) LoadTextureD3D11_Async(textureId TextureID, d3D11Device unsafe.Pointer, d3D11Texture2D *unsafe.Pointer) EVRRenderModelError

LoadTextureD3D11_Async calls IVRRenderModels::LoadTextureD3D11_Async.

func (*IVRRenderModels) LoadTexture_Async

func (s *IVRRenderModels) LoadTexture_Async(textureId TextureID, texture **RenderModelTextureMap) EVRRenderModelError

LoadTexture_Async calls IVRRenderModels::LoadTexture_Async.

func (*IVRRenderModels) RenderModelHasComponent

func (s *IVRRenderModels) RenderModelHasComponent(renderModelName string, componentName string) bool

RenderModelHasComponent calls IVRRenderModels::RenderModelHasComponent.

type IVRResources

type IVRResources struct {
	// contains filtered or unexported fields
}

IVRResources wraps the function table of the vr::IVRResources interface. Obtain it with VRResources.

func VRResources

func VRResources() *IVRResources

VRResources returns the IVRResources interface (version IVRResourcesVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRResources) GetResourceFullPath

func (s *IVRResources) GetResourceFullPath(resourceName string, resourceTypeDirectory string) string

GetResourceFullPath calls IVRResources::GetResourceFullPath.

func (*IVRResources) LoadSharedResource

func (s *IVRResources) LoadSharedResource(resourceName string, buffer *byte, bufferLen uint32) uint32

LoadSharedResource calls IVRResources::LoadSharedResource.

type IVRScreenshots

type IVRScreenshots struct {
	// contains filtered or unexported fields
}

IVRScreenshots wraps the function table of the vr::IVRScreenshots interface. Obtain it with VRScreenshots.

func VRScreenshots

func VRScreenshots() *IVRScreenshots

VRScreenshots returns the IVRScreenshots interface (version IVRScreenshotsVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRScreenshots) GetScreenshotPropertyFilename

func (s *IVRScreenshots) GetScreenshotPropertyFilename(screenshotHandle ScreenshotHandle, filenameType EVRScreenshotPropertyFilenames, pError *EVRScreenshotError) string

GetScreenshotPropertyFilename calls IVRScreenshots::GetScreenshotPropertyFilename.

func (*IVRScreenshots) GetScreenshotPropertyType

func (s *IVRScreenshots) GetScreenshotPropertyType(screenshotHandle ScreenshotHandle, err *EVRScreenshotError) EVRScreenshotType

GetScreenshotPropertyType calls IVRScreenshots::GetScreenshotPropertyType.

func (*IVRScreenshots) HookScreenshot

func (s *IVRScreenshots) HookScreenshot(supportedTypes []EVRScreenshotType) EVRScreenshotError

HookScreenshot calls IVRScreenshots::HookScreenshot.

func (*IVRScreenshots) RequestScreenshot

func (s *IVRScreenshots) RequestScreenshot(outScreenshotHandle *ScreenshotHandle, type_ EVRScreenshotType, previewFilename string, vrFilename string) EVRScreenshotError

RequestScreenshot calls IVRScreenshots::RequestScreenshot.

func (*IVRScreenshots) SubmitScreenshot

func (s *IVRScreenshots) SubmitScreenshot(screenshotHandle ScreenshotHandle, type_ EVRScreenshotType, sourcePreviewFilename string, sourceVRFilename string) EVRScreenshotError

SubmitScreenshot calls IVRScreenshots::SubmitScreenshot.

func (*IVRScreenshots) TakeStereoScreenshot

func (s *IVRScreenshots) TakeStereoScreenshot(outScreenshotHandle *ScreenshotHandle, previewFilename string, vrFilename string) EVRScreenshotError

TakeStereoScreenshot calls IVRScreenshots::TakeStereoScreenshot.

func (*IVRScreenshots) UpdateScreenshotProgress

func (s *IVRScreenshots) UpdateScreenshotProgress(screenshotHandle ScreenshotHandle, progress float32) EVRScreenshotError

UpdateScreenshotProgress calls IVRScreenshots::UpdateScreenshotProgress.

type IVRSettings

type IVRSettings struct {
	// contains filtered or unexported fields
}

IVRSettings wraps the function table of the vr::IVRSettings interface. Obtain it with VRSettings.

func VRSettings

func VRSettings() *IVRSettings

VRSettings returns the IVRSettings interface (version IVRSettingsVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRSettings) GetBool

func (s *IVRSettings) GetBool(section string, settingsKey string, err *EVRSettingsError) bool

GetBool calls IVRSettings::GetBool.

func (*IVRSettings) GetFloat

func (s *IVRSettings) GetFloat(section string, settingsKey string, err *EVRSettingsError) float32

GetFloat calls IVRSettings::GetFloat.

func (*IVRSettings) GetInt32

func (s *IVRSettings) GetInt32(section string, settingsKey string, err *EVRSettingsError) int32

GetInt32 calls IVRSettings::GetInt32.

func (*IVRSettings) GetSettingsErrorNameFromEnum

func (s *IVRSettings) GetSettingsErrorNameFromEnum(err EVRSettingsError) string

GetSettingsErrorNameFromEnum calls IVRSettings::GetSettingsErrorNameFromEnum.

func (*IVRSettings) GetString

func (s *IVRSettings) GetString(section string, settingsKey string, err *EVRSettingsError) string

GetString calls IVRSettings::GetString.

func (*IVRSettings) RemoveKeyInSection

func (s *IVRSettings) RemoveKeyInSection(section string, settingsKey string, err *EVRSettingsError)

RemoveKeyInSection calls IVRSettings::RemoveKeyInSection.

func (*IVRSettings) RemoveSection

func (s *IVRSettings) RemoveSection(section string, err *EVRSettingsError)

RemoveSection calls IVRSettings::RemoveSection.

func (*IVRSettings) SetBool

func (s *IVRSettings) SetBool(section string, settingsKey string, value bool, err *EVRSettingsError)

SetBool calls IVRSettings::SetBool.

func (*IVRSettings) SetFloat

func (s *IVRSettings) SetFloat(section string, settingsKey string, value float32, err *EVRSettingsError)

SetFloat calls IVRSettings::SetFloat.

func (*IVRSettings) SetInt32

func (s *IVRSettings) SetInt32(section string, settingsKey string, value int32, err *EVRSettingsError)

SetInt32 calls IVRSettings::SetInt32.

func (*IVRSettings) SetString

func (s *IVRSettings) SetString(section string, settingsKey string, value string, err *EVRSettingsError)

SetString calls IVRSettings::SetString.

type IVRSpatialAnchors

type IVRSpatialAnchors struct {
	// contains filtered or unexported fields
}

IVRSpatialAnchors wraps the function table of the vr::IVRSpatialAnchors interface. Obtain it with VRSpatialAnchors.

func VRSpatialAnchors

func VRSpatialAnchors() *IVRSpatialAnchors

VRSpatialAnchors returns the IVRSpatialAnchors interface (version IVRSpatialAnchorsVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRSpatialAnchors) CreateSpatialAnchorFromDescriptor

func (s *IVRSpatialAnchors) CreateSpatialAnchorFromDescriptor(descriptor string, handleOut *SpatialAnchorHandle) EVRSpatialAnchorError

CreateSpatialAnchorFromDescriptor calls IVRSpatialAnchors::CreateSpatialAnchorFromDescriptor.

func (*IVRSpatialAnchors) CreateSpatialAnchorFromPose

func (s *IVRSpatialAnchors) CreateSpatialAnchorFromPose(deviceIndex TrackedDeviceIndex, origin ETrackingUniverseOrigin, pose *SpatialAnchorPose, handleOut *SpatialAnchorHandle) EVRSpatialAnchorError

CreateSpatialAnchorFromPose calls IVRSpatialAnchors::CreateSpatialAnchorFromPose.

func (*IVRSpatialAnchors) GetSpatialAnchorDescriptor

func (s *IVRSpatialAnchors) GetSpatialAnchorDescriptor(handle SpatialAnchorHandle) (string, EVRSpatialAnchorError)

GetSpatialAnchorDescriptor calls IVRSpatialAnchors::GetSpatialAnchorDescriptor.

The string is empty when the call fails.

func (*IVRSpatialAnchors) GetSpatialAnchorPose

GetSpatialAnchorPose calls IVRSpatialAnchors::GetSpatialAnchorPose.

type IVRSystem

type IVRSystem struct {
	// contains filtered or unexported fields
}

IVRSystem wraps the function table of the vr::IVRSystem interface. Obtain it with VRSystem.

func VRSystem

func VRSystem() *IVRSystem

VRSystem returns the IVRSystem interface (version IVRSystemVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRSystem) AcknowledgeQuit_Exiting

func (s *IVRSystem) AcknowledgeQuit_Exiting()

AcknowledgeQuit_Exiting calls IVRSystem::AcknowledgeQuit_Exiting.

func (*IVRSystem) ApplyTransform

func (s *IVRSystem) ApplyTransform(outputPose *TrackedDevicePose, trackedDevicePose *TrackedDevicePose, transform *HmdMatrix34)

ApplyTransform calls IVRSystem::ApplyTransform.

func (*IVRSystem) ComputeDistortion

func (s *IVRSystem) ComputeDistortion(eye EVREye, u float32, v float32, distortionCoordinates *DistortionCoordinates) bool

ComputeDistortion calls IVRSystem::ComputeDistortion.

func (*IVRSystem) ComputeDistortionSet

func (s *IVRSystem) ComputeDistortionSet(eye EVREye, channel EVRDistortionChannel, asNormalizedDeviceCoordinates bool, numCoordinates uint32, input *DistortionCoordinate, output *DistortionCoordinate) bool

ComputeDistortionSet calls IVRSystem::ComputeDistortionSet.

func (*IVRSystem) GetAppContainerFilePaths

func (s *IVRSystem) GetAppContainerFilePaths() string

GetAppContainerFilePaths calls IVRSystem::GetAppContainerFilePaths.

func (*IVRSystem) GetArrayTrackedDeviceProperty

func (s *IVRSystem) GetArrayTrackedDeviceProperty(deviceIndex TrackedDeviceIndex, prop ETrackedDeviceProperty, propType PropertyTypeTag, buffer unsafe.Pointer, bufferSize uint32, err *ETrackedPropertyError) uint32

GetArrayTrackedDeviceProperty calls IVRSystem::GetArrayTrackedDeviceProperty.

func (*IVRSystem) GetBoolTrackedDeviceProperty

func (s *IVRSystem) GetBoolTrackedDeviceProperty(deviceIndex TrackedDeviceIndex, prop ETrackedDeviceProperty, err *ETrackedPropertyError) bool

GetBoolTrackedDeviceProperty calls IVRSystem::GetBoolTrackedDeviceProperty.

func (*IVRSystem) GetButtonIdNameFromEnum

func (s *IVRSystem) GetButtonIdNameFromEnum(buttonId EVRButtonId) string

GetButtonIdNameFromEnum calls IVRSystem::GetButtonIdNameFromEnum.

func (*IVRSystem) GetControllerAxisTypeNameFromEnum

func (s *IVRSystem) GetControllerAxisTypeNameFromEnum(axisType EVRControllerAxisType) string

GetControllerAxisTypeNameFromEnum calls IVRSystem::GetControllerAxisTypeNameFromEnum.

func (*IVRSystem) GetControllerRoleForTrackedDeviceIndex

func (s *IVRSystem) GetControllerRoleForTrackedDeviceIndex(deviceIndex TrackedDeviceIndex) ETrackedControllerRole

GetControllerRoleForTrackedDeviceIndex calls IVRSystem::GetControllerRoleForTrackedDeviceIndex.

func (*IVRSystem) GetControllerState

func (s *IVRSystem) GetControllerState(controllerDeviceIndex TrackedDeviceIndex, controllerState *VRControllerState) bool

GetControllerState calls IVRSystem::GetControllerState.

func (*IVRSystem) GetControllerStateWithPose

func (s *IVRSystem) GetControllerStateWithPose(origin ETrackingUniverseOrigin, controllerDeviceIndex TrackedDeviceIndex, controllerState *VRControllerState, trackedDevicePose *TrackedDevicePose) bool

GetControllerStateWithPose calls IVRSystem::GetControllerStateWithPose.

func (*IVRSystem) GetD3D9AdapterIndex

func (s *IVRSystem) GetD3D9AdapterIndex() int32

GetD3D9AdapterIndex calls IVRSystem::GetD3D9AdapterIndex.

func (*IVRSystem) GetDXGIOutputInfo

func (s *IVRSystem) GetDXGIOutputInfo(adapterIndex *int32)

GetDXGIOutputInfo calls IVRSystem::GetDXGIOutputInfo.

func (*IVRSystem) GetDeviceToAbsoluteTrackingPose

func (s *IVRSystem) GetDeviceToAbsoluteTrackingPose(origin ETrackingUniverseOrigin, predictedSecondsToPhotonsFromNow float32, trackedDevicePoseArray []TrackedDevicePose)

GetDeviceToAbsoluteTrackingPose calls IVRSystem::GetDeviceToAbsoluteTrackingPose.

func (*IVRSystem) GetEventTypeNameFromEnum

func (s *IVRSystem) GetEventTypeNameFromEnum(eType EVREventType) string

GetEventTypeNameFromEnum calls IVRSystem::GetEventTypeNameFromEnum.

func (*IVRSystem) GetEyeToHeadTransform

func (s *IVRSystem) GetEyeToHeadTransform(eye EVREye) HmdMatrix34

GetEyeToHeadTransform calls IVRSystem::GetEyeToHeadTransform.

func (*IVRSystem) GetEyeTrackedFoveationCenter

func (s *IVRSystem) GetEyeTrackedFoveationCenter(ndcLeft *HmdVector2, ndcRight *HmdVector2) bool

GetEyeTrackedFoveationCenter calls IVRSystem::GetEyeTrackedFoveationCenter.

func (*IVRSystem) GetEyeTrackedFoveationCenterForProjection

func (s *IVRSystem) GetEyeTrackedFoveationCenterForProjection(projMat *HmdMatrix44, ndc *HmdVector2) bool

GetEyeTrackedFoveationCenterForProjection calls IVRSystem::GetEyeTrackedFoveationCenterForProjection.

func (*IVRSystem) GetFloatTrackedDeviceProperty

func (s *IVRSystem) GetFloatTrackedDeviceProperty(deviceIndex TrackedDeviceIndex, prop ETrackedDeviceProperty, err *ETrackedPropertyError) float32

GetFloatTrackedDeviceProperty calls IVRSystem::GetFloatTrackedDeviceProperty.

func (*IVRSystem) GetHiddenAreaMesh

func (s *IVRSystem) GetHiddenAreaMesh(eye EVREye, type_ EHiddenAreaMeshType) HiddenAreaMesh

GetHiddenAreaMesh calls IVRSystem::GetHiddenAreaMesh.

func (*IVRSystem) GetInt32TrackedDeviceProperty

func (s *IVRSystem) GetInt32TrackedDeviceProperty(deviceIndex TrackedDeviceIndex, prop ETrackedDeviceProperty, err *ETrackedPropertyError) int32

GetInt32TrackedDeviceProperty calls IVRSystem::GetInt32TrackedDeviceProperty.

func (*IVRSystem) GetMatrix34TrackedDeviceProperty

func (s *IVRSystem) GetMatrix34TrackedDeviceProperty(deviceIndex TrackedDeviceIndex, prop ETrackedDeviceProperty, err *ETrackedPropertyError) HmdMatrix34

GetMatrix34TrackedDeviceProperty calls IVRSystem::GetMatrix34TrackedDeviceProperty.

func (*IVRSystem) GetOutputDevice

func (s *IVRSystem) GetOutputDevice(device *uint64, textureType ETextureType, instance unsafe.Pointer)

GetOutputDevice calls IVRSystem::GetOutputDevice.

func (*IVRSystem) GetProjectionMatrix

func (s *IVRSystem) GetProjectionMatrix(eye EVREye, nearZ float32, farZ float32) HmdMatrix44

GetProjectionMatrix calls IVRSystem::GetProjectionMatrix.

func (*IVRSystem) GetProjectionRaw

func (s *IVRSystem) GetProjectionRaw(eye EVREye, left *float32, right *float32, top *float32, bottom *float32)

GetProjectionRaw calls IVRSystem::GetProjectionRaw.

func (*IVRSystem) GetPropErrorNameFromEnum

func (s *IVRSystem) GetPropErrorNameFromEnum(err ETrackedPropertyError) string

GetPropErrorNameFromEnum calls IVRSystem::GetPropErrorNameFromEnum.

func (*IVRSystem) GetRawZeroPoseToStandingAbsoluteTrackingPose

func (s *IVRSystem) GetRawZeroPoseToStandingAbsoluteTrackingPose() HmdMatrix34

GetRawZeroPoseToStandingAbsoluteTrackingPose calls IVRSystem::GetRawZeroPoseToStandingAbsoluteTrackingPose.

func (*IVRSystem) GetRecommendedRenderTargetSize

func (s *IVRSystem) GetRecommendedRenderTargetSize(width *uint32, height *uint32)

GetRecommendedRenderTargetSize calls IVRSystem::GetRecommendedRenderTargetSize.

func (*IVRSystem) GetRuntimeVersion

func (s *IVRSystem) GetRuntimeVersion() string

GetRuntimeVersion calls IVRSystem::GetRuntimeVersion.

func (*IVRSystem) GetSeatedZeroPoseToStandingAbsoluteTrackingPose

func (s *IVRSystem) GetSeatedZeroPoseToStandingAbsoluteTrackingPose() HmdMatrix34

GetSeatedZeroPoseToStandingAbsoluteTrackingPose calls IVRSystem::GetSeatedZeroPoseToStandingAbsoluteTrackingPose.

func (*IVRSystem) GetSortedTrackedDeviceIndicesOfClass

func (s *IVRSystem) GetSortedTrackedDeviceIndicesOfClass(trackedDeviceClass ETrackedDeviceClass, trackedDeviceIndexArray []TrackedDeviceIndex, relativeToTrackedDeviceIndex TrackedDeviceIndex) uint32

GetSortedTrackedDeviceIndicesOfClass calls IVRSystem::GetSortedTrackedDeviceIndicesOfClass.

func (*IVRSystem) GetStringTrackedDeviceProperty

func (s *IVRSystem) GetStringTrackedDeviceProperty(deviceIndex TrackedDeviceIndex, prop ETrackedDeviceProperty, err *ETrackedPropertyError) string

GetStringTrackedDeviceProperty calls IVRSystem::GetStringTrackedDeviceProperty.

func (*IVRSystem) GetTimeSinceLastVsync

func (s *IVRSystem) GetTimeSinceLastVsync(secondsSinceLastVsync *float32, frameCounter *uint64) bool

GetTimeSinceLastVsync calls IVRSystem::GetTimeSinceLastVsync.

func (*IVRSystem) GetTrackedDeviceActivityLevel

func (s *IVRSystem) GetTrackedDeviceActivityLevel(deviceId TrackedDeviceIndex) EDeviceActivityLevel

GetTrackedDeviceActivityLevel calls IVRSystem::GetTrackedDeviceActivityLevel.

func (*IVRSystem) GetTrackedDeviceClass

func (s *IVRSystem) GetTrackedDeviceClass(deviceIndex TrackedDeviceIndex) ETrackedDeviceClass

GetTrackedDeviceClass calls IVRSystem::GetTrackedDeviceClass.

func (*IVRSystem) GetTrackedDeviceIndexForControllerRole

func (s *IVRSystem) GetTrackedDeviceIndexForControllerRole(deviceType ETrackedControllerRole) TrackedDeviceIndex

GetTrackedDeviceIndexForControllerRole calls IVRSystem::GetTrackedDeviceIndexForControllerRole.

func (*IVRSystem) GetUint64TrackedDeviceProperty

func (s *IVRSystem) GetUint64TrackedDeviceProperty(deviceIndex TrackedDeviceIndex, prop ETrackedDeviceProperty, err *ETrackedPropertyError) uint64

GetUint64TrackedDeviceProperty calls IVRSystem::GetUint64TrackedDeviceProperty.

func (*IVRSystem) IsDisplayOnDesktop

func (s *IVRSystem) IsDisplayOnDesktop() bool

IsDisplayOnDesktop calls IVRSystem::IsDisplayOnDesktop.

func (*IVRSystem) IsInputAvailable

func (s *IVRSystem) IsInputAvailable() bool

IsInputAvailable calls IVRSystem::IsInputAvailable.

func (*IVRSystem) IsSteamVRDrawingControllers

func (s *IVRSystem) IsSteamVRDrawingControllers() bool

IsSteamVRDrawingControllers calls IVRSystem::IsSteamVRDrawingControllers.

func (*IVRSystem) IsTrackedDeviceConnected

func (s *IVRSystem) IsTrackedDeviceConnected(deviceIndex TrackedDeviceIndex) bool

IsTrackedDeviceConnected calls IVRSystem::IsTrackedDeviceConnected.

func (*IVRSystem) PerformFirmwareUpdate

func (s *IVRSystem) PerformFirmwareUpdate(deviceIndex TrackedDeviceIndex) EVRFirmwareError

PerformFirmwareUpdate calls IVRSystem::PerformFirmwareUpdate.

func (*IVRSystem) PollNextEvent

func (s *IVRSystem) PollNextEvent(event *VREvent) bool

PollNextEvent calls IVRSystem::PollNextEvent.

func (*IVRSystem) PollNextEventWithPose

func (s *IVRSystem) PollNextEventWithPose(origin ETrackingUniverseOrigin, event *VREvent, trackedDevicePose *TrackedDevicePose) bool

PollNextEventWithPose calls IVRSystem::PollNextEventWithPose.

func (*IVRSystem) PollNextEventWithPoseAndOverlays

func (s *IVRSystem) PollNextEventWithPoseAndOverlays(origin ETrackingUniverseOrigin, event *VREvent, trackedDevicePose *TrackedDevicePose, overlayHandle *VROverlayHandle) bool

PollNextEventWithPoseAndOverlays calls IVRSystem::PollNextEventWithPoseAndOverlays.

func (*IVRSystem) SetDisplayVisibility

func (s *IVRSystem) SetDisplayVisibility(isVisibleOnDesktop bool) bool

SetDisplayVisibility calls IVRSystem::SetDisplayVisibility.

func (*IVRSystem) SetSDKVersion

func (s *IVRSystem) SetSDKVersion(versionMajor uint32, versionMinor uint32, versionBuild uint32) EVRInitError

SetSDKVersion calls IVRSystem::SetSDKVersion.

func (*IVRSystem) ShouldApplicationPause

func (s *IVRSystem) ShouldApplicationPause() bool

ShouldApplicationPause calls IVRSystem::ShouldApplicationPause.

func (*IVRSystem) ShouldApplicationReduceRenderingWork

func (s *IVRSystem) ShouldApplicationReduceRenderingWork() bool

ShouldApplicationReduceRenderingWork calls IVRSystem::ShouldApplicationReduceRenderingWork.

func (*IVRSystem) TriggerHapticPulse

func (s *IVRSystem) TriggerHapticPulse(controllerDeviceIndex TrackedDeviceIndex, axisId uint32, usDurationMicroSec uint16)

TriggerHapticPulse calls IVRSystem::TriggerHapticPulse.

type IVRTrackedCamera

type IVRTrackedCamera struct {
	// contains filtered or unexported fields
}

IVRTrackedCamera wraps the function table of the vr::IVRTrackedCamera interface. Obtain it with VRTrackedCamera.

func VRTrackedCamera

func VRTrackedCamera() *IVRTrackedCamera

VRTrackedCamera returns the IVRTrackedCamera interface (version IVRTrackedCameraVersion), or nil if it is not available, e.g. because Init has not been called.

func (*IVRTrackedCamera) AcquireVideoStreamingService

func (s *IVRTrackedCamera) AcquireVideoStreamingService(deviceIndex TrackedDeviceIndex, handle *TrackedCameraHandle) EVRTrackedCameraError

AcquireVideoStreamingService calls IVRTrackedCamera::AcquireVideoStreamingService.

func (*IVRTrackedCamera) GetCameraErrorNameFromEnum

func (s *IVRTrackedCamera) GetCameraErrorNameFromEnum(cameraError EVRTrackedCameraError) string

GetCameraErrorNameFromEnum calls IVRTrackedCamera::GetCameraErrorNameFromEnum.

func (*IVRTrackedCamera) GetCameraFrameSize

func (s *IVRTrackedCamera) GetCameraFrameSize(deviceIndex TrackedDeviceIndex, frameType EVRTrackedCameraFrameType, width *uint32, height *uint32, frameBufferSize *uint32) EVRTrackedCameraError

GetCameraFrameSize calls IVRTrackedCamera::GetCameraFrameSize.

func (*IVRTrackedCamera) GetCameraIntrinsics

func (s *IVRTrackedCamera) GetCameraIntrinsics(deviceIndex TrackedDeviceIndex, cameraIndex uint32, frameType EVRTrackedCameraFrameType, focalLength *HmdVector2, center *HmdVector2) EVRTrackedCameraError

GetCameraIntrinsics calls IVRTrackedCamera::GetCameraIntrinsics.

func (*IVRTrackedCamera) GetCameraProjection

func (s *IVRTrackedCamera) GetCameraProjection(deviceIndex TrackedDeviceIndex, cameraIndex uint32, frameType EVRTrackedCameraFrameType, zNear float32, zFar float32, projection *HmdMatrix44) EVRTrackedCameraError

GetCameraProjection calls IVRTrackedCamera::GetCameraProjection.

func (*IVRTrackedCamera) GetCameraTrackingSpace

func (s *IVRTrackedCamera) GetCameraTrackingSpace() ETrackingUniverseOrigin

GetCameraTrackingSpace calls IVRTrackedCamera::GetCameraTrackingSpace.

func (*IVRTrackedCamera) GetVideoStreamFrameBuffer

func (s *IVRTrackedCamera) GetVideoStreamFrameBuffer(trackedCamera TrackedCameraHandle, frameType EVRTrackedCameraFrameType, frameBuffer unsafe.Pointer, frameBufferSize uint32, frameHeader *CameraVideoStreamFrameHeader) EVRTrackedCameraError

GetVideoStreamFrameBuffer calls IVRTrackedCamera::GetVideoStreamFrameBuffer.

func (*IVRTrackedCamera) GetVideoStreamTextureD3D11

func (s *IVRTrackedCamera) GetVideoStreamTextureD3D11(trackedCamera TrackedCameraHandle, frameType EVRTrackedCameraFrameType, d3D11DeviceOrResource unsafe.Pointer, d3D11ShaderResourceView *unsafe.Pointer, frameHeader *CameraVideoStreamFrameHeader) EVRTrackedCameraError

GetVideoStreamTextureD3D11 calls IVRTrackedCamera::GetVideoStreamTextureD3D11.

func (*IVRTrackedCamera) GetVideoStreamTextureGL

func (s *IVRTrackedCamera) GetVideoStreamTextureGL(trackedCamera TrackedCameraHandle, frameType EVRTrackedCameraFrameType, pglTextureId *GlUInt, frameHeader *CameraVideoStreamFrameHeader) EVRTrackedCameraError

GetVideoStreamTextureGL calls IVRTrackedCamera::GetVideoStreamTextureGL.

func (*IVRTrackedCamera) GetVideoStreamTextureSize

func (s *IVRTrackedCamera) GetVideoStreamTextureSize(deviceIndex TrackedDeviceIndex, frameType EVRTrackedCameraFrameType, textureBounds *VRTextureBounds, width *uint32, height *uint32) EVRTrackedCameraError

GetVideoStreamTextureSize calls IVRTrackedCamera::GetVideoStreamTextureSize.

func (*IVRTrackedCamera) HasCamera

func (s *IVRTrackedCamera) HasCamera(deviceIndex TrackedDeviceIndex, hasCamera *bool) EVRTrackedCameraError

HasCamera calls IVRTrackedCamera::HasCamera.

func (*IVRTrackedCamera) ReleaseVideoStreamTextureGL

func (s *IVRTrackedCamera) ReleaseVideoStreamTextureGL(trackedCamera TrackedCameraHandle, glTextureId GlUInt) EVRTrackedCameraError

ReleaseVideoStreamTextureGL calls IVRTrackedCamera::ReleaseVideoStreamTextureGL.

func (*IVRTrackedCamera) ReleaseVideoStreamingService

func (s *IVRTrackedCamera) ReleaseVideoStreamingService(trackedCamera TrackedCameraHandle) EVRTrackedCameraError

ReleaseVideoStreamingService calls IVRTrackedCamera::ReleaseVideoStreamingService.

func (*IVRTrackedCamera) SetCameraTrackingSpace

func (s *IVRTrackedCamera) SetCameraTrackingSpace(universe ETrackingUniverseOrigin)

SetCameraTrackingSpace calls IVRTrackedCamera::SetCameraTrackingSpace.

type ImuOffScaleFlags

type ImuOffScaleFlags int32

ImuOffScaleFlags is the Imu_OffScaleFlags enum.

const (
	OffScaleAccelX ImuOffScaleFlags = 1  // OffScale_AccelX
	OffScaleAccelY ImuOffScaleFlags = 2  // OffScale_AccelY
	OffScaleAccelZ ImuOffScaleFlags = 4  // OffScale_AccelZ
	OffScaleGyroX  ImuOffScaleFlags = 8  // OffScale_GyroX
	OffScaleGyroY  ImuOffScaleFlags = 16 // OffScale_GyroY
	OffScaleGyroZ  ImuOffScaleFlags = 32 // OffScale_GyroZ
)

type ImuSample

type ImuSample struct {
	SampleTime    float64     // double fSampleTime
	Accel         HmdVector3d // struct HmdVector3d_t vAccel
	Gyro          HmdVector3d // struct HmdVector3d_t vGyro
	OffScaleFlags uint32      // uint32_t unOffScaleFlags
}

ImuSample is the ImuSample_t struct.

type InitError

type InitError struct {
	Code        EVRInitError
	Symbol      string // e.g. "VRInitError_Init_HmdNotFound"
	Description string // English description
}

InitError is returned by Init and FnTable. It carries the OpenVR error code together with the description reported by the runtime.

func (*InitError) Error

func (e *InitError) Error() string

func (*InitError) Unwrap

func (e *InitError) Unwrap() error

Unwrap returns the underlying EVRInitError so that errors.Is / errors.As work.

type InputAnalogActionData

type InputAnalogActionData struct {
	Active       bool               // _Bool bActive
	ActiveOrigin VRInputValueHandle // VRInputValueHandle_t activeOrigin
	X            float32            // float x
	Y            float32            // float y
	Z            float32            // float z
	DeltaX       float32            // float deltaX
	DeltaY       float32            // float deltaY
	DeltaZ       float32            // float deltaZ
	UpdateTime   float32            // float fUpdateTime
}

InputAnalogActionData is the InputAnalogActionData_t struct.

type InputBindingInfo

type InputBindingInfo struct {
	DevicePathName  [128]byte // char [128] rchDevicePathName
	InputPathName   [128]byte // char [128] rchInputPathName
	ModeName        [128]byte // char [128] rchModeName
	SlotName        [128]byte // char [128] rchSlotName
	InputSourceType [32]byte  // char [32] rchInputSourceType
}

InputBindingInfo is the InputBindingInfo_t struct.

type InputDigitalActionData

type InputDigitalActionData struct {
	Active       bool               // _Bool bActive
	ActiveOrigin VRInputValueHandle // VRInputValueHandle_t activeOrigin
	State        bool               // _Bool bState
	Changed      bool               // _Bool bChanged
	UpdateTime   float32            // float fUpdateTime
}

InputDigitalActionData is the InputDigitalActionData_t struct.

type InputOriginInfo

type InputOriginInfo struct {
	DevicePath               VRInputValueHandle // VRInputValueHandle_t devicePath
	TrackedDeviceIndex       TrackedDeviceIndex // TrackedDeviceIndex_t trackedDeviceIndex
	RenderModelComponentName [128]byte          // char [128] rchRenderModelComponentName
}

InputOriginInfo is the InputOriginInfo_t struct.

type InputPoseActionData

type InputPoseActionData struct {
	Active       bool               // _Bool bActive
	ActiveOrigin VRInputValueHandle // VRInputValueHandle_t activeOrigin
	Pose         TrackedDevicePose  // struct TrackedDevicePose_t pose
}

InputPoseActionData is the InputPoseActionData_t struct.

type InputSkeletalActionData

type InputSkeletalActionData struct {
	Active       bool               // _Bool bActive
	ActiveOrigin VRInputValueHandle // VRInputValueHandle_t activeOrigin
}

InputSkeletalActionData is the InputSkeletalActionData_t struct.

type IntersectionMaskCircle

type IntersectionMaskCircle struct {
	CenterX float32 // float m_flCenterX
	CenterY float32 // float m_flCenterY
	Radius  float32 // float m_flRadius
}

IntersectionMaskCircle is the IntersectionMaskCircle_t struct.

type IntersectionMaskRectangle

type IntersectionMaskRectangle struct {
	TopLeftX float32 // float m_flTopLeftX
	TopLeftY float32 // float m_flTopLeftY
	Width    float32 // float m_flWidth
	Height   float32 // float m_flHeight
}

IntersectionMaskRectangle is the IntersectionMaskRectangle_t struct.

type NotificationBitmap

type NotificationBitmap struct {
	ImageData     unsafe.Pointer // void * m_pImageData
	Width         int32          // int32_t m_nWidth
	Height        int32          // int32_t m_nHeight
	BytesPerPixel int32          // int32_t m_nBytesPerPixel
}

NotificationBitmap is the NotificationBitmap_t struct.

type PathHandle

type PathHandle uint64

PathHandle is the PathHandle_t typedef.

type PathRead

type PathRead struct {
	UlPath               PathHandle            // PathHandle_t ulPath
	PvBuffer             unsafe.Pointer        // void * pvBuffer
	UnBufferSize         uint32                // uint32_t unBufferSize
	UnTag                PropertyTypeTag       // PropertyTypeTag_t unTag
	UnRequiredBufferSize uint32                // uint32_t unRequiredBufferSize
	EError               ETrackedPropertyError // enum ETrackedPropertyError eError
	PszPath              *byte                 // const char * pszPath
}

PathRead is the PathRead_t struct.

type PathWrite

type PathWrite struct {
	UlPath        PathHandle            // PathHandle_t ulPath
	WriteType     EPropertyWriteType    // enum EPropertyWriteType writeType
	ESetError     ETrackedPropertyError // enum ETrackedPropertyError eSetError
	PvBuffer      unsafe.Pointer        // void * pvBuffer
	UnBufferSize  uint32                // uint32_t unBufferSize
	UnTag         PropertyTypeTag       // PropertyTypeTag_t unTag
	EError        ETrackedPropertyError // enum ETrackedPropertyError eError
	PszPath       *byte                 // const char * pszPath
	BPostEvents   bool                  // _Bool bPostEvents
	BValueChanged bool                  // _Bool bValueChanged
}

PathWrite is the PathWrite_t struct.

type PathWriteOptions

type PathWriteOptions struct {
	PostEvents bool // _Bool bPostEvents
}

PathWriteOptions is the PathWriteOptions_t struct.

type PropertyContainerHandle

type PropertyContainerHandle uint64

PropertyContainerHandle is the PropertyContainerHandle_t typedef.

type PropertyRead

type PropertyRead struct {
	Prop               ETrackedDeviceProperty // enum ETrackedDeviceProperty prop
	Buffer             unsafe.Pointer         // void * pvBuffer
	BufferSize         uint32                 // uint32_t unBufferSize
	Tag                PropertyTypeTag        // PropertyTypeTag_t unTag
	RequiredBufferSize uint32                 // uint32_t unRequiredBufferSize
	Error              ETrackedPropertyError  // enum ETrackedPropertyError eError
}

PropertyRead is the PropertyRead_t struct.

type PropertyTypeTag

type PropertyTypeTag uint32

PropertyTypeTag is the PropertyTypeTag_t typedef.

type PropertyWrite

type PropertyWrite struct {
	Prop       ETrackedDeviceProperty // enum ETrackedDeviceProperty prop
	WriteType  EPropertyWriteType     // enum EPropertyWriteType writeType
	SetError   ETrackedPropertyError  // enum ETrackedPropertyError eSetError
	Buffer     unsafe.Pointer         // void * pvBuffer
	BufferSize uint32                 // uint32_t unBufferSize
	Tag        PropertyTypeTag        // PropertyTypeTag_t unTag
	Error      ETrackedPropertyError  // enum ETrackedPropertyError eError
}

PropertyWrite is the PropertyWrite_t struct.

type RenderModel

type RenderModel struct {
	// contains filtered or unexported fields
}

RenderModel is the RenderModel_t struct (pack(4): offsets 0, 8, 12, 20, 24; size 28).

func (*RenderModel) DiffuseTextureID

func (m *RenderModel) DiffuseTextureID() TextureID

DiffuseTextureID returns the id to pass to IVRRenderModels.LoadTexture_Async, or a negative value if the model has no texture.

func (*RenderModel) Indices

func (m *RenderModel) Indices() []uint16

Indices returns the triangle list indices (3 per triangle). The slice aliases runtime memory and is valid until the model is freed.

func (*RenderModel) TriangleCount

func (m *RenderModel) TriangleCount() uint32

TriangleCount returns the number of triangles.

func (*RenderModel) Vertices

func (m *RenderModel) Vertices() []RenderModelVertex

Vertices returns the vertex data. The slice aliases runtime memory and is valid until the model is passed to IVRRenderModels.FreeRenderModel.

type RenderModelComponentState

type RenderModelComponentState struct {
	TrackingToComponentRenderModel HmdMatrix34           // struct HmdMatrix34_t mTrackingToComponentRenderModel
	TrackingToComponentLocal       HmdMatrix34           // struct HmdMatrix34_t mTrackingToComponentLocal
	Properties                     VRComponentProperties // VRComponentProperties uProperties
}

RenderModelComponentState is the RenderModel_ComponentState_t struct.

type RenderModelControllerModeState

type RenderModelControllerModeState struct {
	ScrollWheelVisible bool // _Bool bScrollWheelVisible
}

RenderModelControllerModeState is the RenderModel_ControllerMode_State_t struct.

type RenderModelTextureMap

type RenderModelTextureMap struct {
	// contains filtered or unexported fields
}

RenderModelTextureMap is the RenderModel_TextureMap_t struct (pack(4): offsets 0, 2, 4, 12, 16; size 20).

func (*RenderModelTextureMap) Data

func (t *RenderModelTextureMap) Data() []byte

Data returns the pixels of the first mip level for the uncompressed VRRenderModelTextureFormatRGBA8SRGB format (width * height * 4 bytes). For other formats it returns nil; use DataPtr. The slice aliases runtime memory and is valid until the texture is passed to IVRRenderModels.FreeTexture.

func (*RenderModelTextureMap) DataPtr

func (t *RenderModelTextureMap) DataPtr() unsafe.Pointer

DataPtr returns the raw pointer to the texture data.

func (*RenderModelTextureMap) Format

Format returns the pixel format of the texture data.

func (*RenderModelTextureMap) Height

func (t *RenderModelTextureMap) Height() uint16

Height returns the texture height in pixels.

func (*RenderModelTextureMap) MipLevels

func (t *RenderModelTextureMap) MipLevels() uint16

MipLevels returns the number of mip levels in the texture data.

func (*RenderModelTextureMap) Width

func (t *RenderModelTextureMap) Width() uint16

Width returns the texture width in pixels.

type RenderModelVertex

type RenderModelVertex struct {
	Position     HmdVector3 // struct HmdVector3_t vPosition
	Normal       HmdVector3 // struct HmdVector3_t vNormal
	TextureCoord [2]float32 // float [2] rfTextureCoord
}

RenderModelVertex is the RenderModel_Vertex_t struct.

type ScreenshotHandle

type ScreenshotHandle uint32

ScreenshotHandle is the ScreenshotHandle_t typedef.

type SharedTextureHandle

type SharedTextureHandle uint64

SharedTextureHandle is the SharedTextureHandle_t typedef.

type SpatialAnchorHandle

type SpatialAnchorHandle uint32

SpatialAnchorHandle is the SpatialAnchorHandle_t typedef.

type SpatialAnchorPose

type SpatialAnchorPose struct {
	AnchorToAbsoluteTracking HmdMatrix34 // struct HmdMatrix34_t mAnchorToAbsoluteTracking
}

SpatialAnchorPose is the SpatialAnchorPose_t struct.

type Texture

type Texture struct {
	Handle     unsafe.Pointer // void * handle
	Type       ETextureType   // enum ETextureType eType
	ColorSpace EColorSpace    // enum EColorSpace eColorSpace
}

Texture is the Texture_t struct.

type TextureID

type TextureID int32

TextureID is the TextureID_t typedef.

type TrackedCameraHandle

type TrackedCameraHandle uint64

TrackedCameraHandle is the TrackedCameraHandle_t typedef.

type TrackedDeviceClass

type TrackedDeviceClass = ETrackedDeviceClass

TrackedDeviceClass is the TrackedDeviceClass typedef.

type TrackedDeviceIndex

type TrackedDeviceIndex uint32

TrackedDeviceIndex is the TrackedDeviceIndex_t typedef.

type TrackedDevicePose

type TrackedDevicePose struct {
	DeviceToAbsoluteTracking HmdMatrix34     // struct HmdMatrix34_t mDeviceToAbsoluteTracking
	Velocity                 HmdVector3      // struct HmdVector3_t vVelocity
	AngularVelocity          HmdVector3      // struct HmdVector3_t vAngularVelocity
	TrackingResult           ETrackingResult // enum ETrackingResult eTrackingResult
	PoseIsValid              bool            // _Bool bPoseIsValid
	DeviceIsConnected        bool            // _Bool bDeviceIsConnected
}

TrackedDevicePose is the TrackedDevicePose_t struct.

type TrackedDeviceProperty

type TrackedDeviceProperty = ETrackedDeviceProperty

TrackedDeviceProperty is the TrackedDeviceProperty typedef.

type TrackedPropertyError

type TrackedPropertyError = ETrackedPropertyError

TrackedPropertyError is the TrackedPropertyError typedef.

type TrackingUniverseOrigin

type TrackingUniverseOrigin = ETrackingUniverseOrigin

TrackingUniverseOrigin is the TrackingUniverseOrigin typedef.

type VRActionHandle

type VRActionHandle uint64

VRActionHandle is the VRActionHandle_t typedef.

type VRActionSetHandle

type VRActionSetHandle uint64

VRActionSetHandle is the VRActionSetHandle_t typedef.

type VRActiveActionSet

type VRActiveActionSet struct {
	ActionSet          VRActionSetHandle  // VRActionSetHandle_t ulActionSet
	RestrictedToDevice VRInputValueHandle // VRInputValueHandle_t ulRestrictedToDevice
	SecondaryActionSet VRActionSetHandle  // VRActionSetHandle_t ulSecondaryActionSet
	Padding            uint32             // uint32_t unPadding
	Priority           int32              // int32_t nPriority
}

VRActiveActionSet is the VRActiveActionSet_t struct.

type VRBoneTransform

type VRBoneTransform struct {
	Position    HmdVector4     // struct HmdVector4_t position
	Orientation HmdQuaternionf // struct HmdQuaternionf_t orientation
}

VRBoneTransform is the VRBoneTransform_t struct.

type VRComponentProperties

type VRComponentProperties uint32

VRComponentProperties is the VRComponentProperties typedef.

type VRCompositorError

type VRCompositorError = EVRCompositorError

VRCompositorError is the VRCompositorError typedef.

type VRControllerAxis

type VRControllerAxis struct {
	X float32 // float x
	Y float32 // float y
}

VRControllerAxis is the VRControllerAxis_t struct.

type VRControllerState

type VRControllerState struct {
	PacketNum     uint32              // uint32_t unPacketNum
	ButtonPressed uint64              // uint64_t ulButtonPressed
	ButtonTouched uint64              // uint64_t ulButtonTouched
	Axis          [5]VRControllerAxis // struct VRControllerAxis_t [5] rAxis
}

VRControllerState is the VRControllerState_t struct.

type VREvent

type VREvent struct {
	EventType          uint32             // uint32_t eventType
	TrackedDeviceIndex TrackedDeviceIndex // TrackedDeviceIndex_t trackedDeviceIndex
	EventAgeSeconds    float32            // float eventAgeSeconds
	Data               VREventData        // VREvent_Data_t data
}

VREvent is the VREvent_t struct.

type VREventApplicationLaunchData

type VREventApplicationLaunchData struct {
	Pid        uint32 // uint32_t pid
	ArgsHandle uint32 // uint32_t unArgsHandle
}

VREventApplicationLaunchData is the VREvent_ApplicationLaunch_t struct.

type VREventAudioMuteControlData

type VREventAudioMuteControlData struct {
	Mute bool // _Bool bMute
}

VREventAudioMuteControlData is the VREvent_AudioMuteControl_t struct.

type VREventAudioVolumeControlData

type VREventAudioVolumeControlData struct {
	VolumeLevel float32 // float fVolumeLevel
}

VREventAudioVolumeControlData is the VREvent_AudioVolumeControl_t struct.

type VREventChaperoneData

type VREventChaperoneData struct {
	PreviousUniverseDeprecated uint64 // uint64_t m_nPreviousUniverse_deprecated
	CurrentUniverse            uint64 // uint64_t m_nCurrentUniverse
}

VREventChaperoneData is the VREvent_Chaperone_t struct.

type VREventControllerData

type VREventControllerData struct {
	Button uint32 // uint32_t button
}

VREventControllerData is the VREvent_Controller_t struct.

type VREventData

type VREventData [6]uint64

VREventData is the VREvent_Data_t union. Use the accessor methods to view it as one of its members.

func (*VREventData) ActionManifest

func (d *VREventData) ActionManifest() *VREventInputActionManifestLoadData

ActionManifest views the union as its actionManifest member.

func (*VREventData) ApplicationLaunch

func (d *VREventData) ApplicationLaunch() *VREventApplicationLaunchData

ApplicationLaunch views the union as its applicationLaunch member.

func (*VREventData) AudioMuteControl

func (d *VREventData) AudioMuteControl() *VREventAudioMuteControlData

AudioMuteControl views the union as its audioMuteControl member.

func (*VREventData) AudioVolumeControl

func (d *VREventData) AudioVolumeControl() *VREventAudioVolumeControlData

AudioVolumeControl views the union as its audioVolumeControl member.

func (*VREventData) CameraSurface

func (d *VREventData) CameraSurface() *VREventEditingCameraSurfaceData

CameraSurface views the union as its cameraSurface member.

func (*VREventData) Chaperone

func (d *VREventData) Chaperone() *VREventChaperoneData

Chaperone views the union as its chaperone member.

func (*VREventData) Controller

func (d *VREventData) Controller() *VREventControllerData

Controller views the union as its controller member.

func (*VREventData) HapticVibration

func (d *VREventData) HapticVibration() *VREventHapticVibrationData

HapticVibration views the union as its hapticVibration member.

func (*VREventData) HdcpError

func (d *VREventData) HdcpError() *VREventHDCPErrorData

HdcpError views the union as its hdcpError member.

func (*VREventData) InputBinding

func (d *VREventData) InputBinding() *VREventInputBindingLoadData

InputBinding views the union as its inputBinding member.

func (*VREventData) Ipd

func (d *VREventData) Ipd() *VREventIpdData

Ipd views the union as its ipd member.

func (*VREventData) Keyboard

func (d *VREventData) Keyboard() *VREventKeyboardData

Keyboard views the union as its keyboard member.

func (*VREventData) MessageOverlay

func (d *VREventData) MessageOverlay() *VREventMessageOverlayData

MessageOverlay views the union as its messageOverlay member.

func (*VREventData) Mouse

func (d *VREventData) Mouse() *VREventMouseData

Mouse views the union as its mouse member.

func (*VREventData) Notification

func (d *VREventData) Notification() *VREventNotificationData

Notification views the union as its notification member.

func (*VREventData) Overlay

func (d *VREventData) Overlay() *VREventOverlayData

Overlay views the union as its overlay member.

func (*VREventData) PerformanceTest

func (d *VREventData) PerformanceTest() *VREventPerformanceTestData

PerformanceTest views the union as its performanceTest member.

func (*VREventData) Process

func (d *VREventData) Process() *VREventProcessData

Process views the union as its process member.

func (*VREventData) ProgressUpdate

func (d *VREventData) ProgressUpdate() *VREventProgressUpdateData

ProgressUpdate views the union as its progressUpdate member.

func (*VREventData) Property

func (d *VREventData) Property() *VREventPropertyData

Property views the union as its property member.

func (*VREventData) Reserved

func (d *VREventData) Reserved() *VREventReservedData

Reserved views the union as its reserved member.

func (*VREventData) Screenshot

func (d *VREventData) Screenshot() *VREventScreenshotData

Screenshot views the union as its screenshot member.

func (*VREventData) ScreenshotProgress

func (d *VREventData) ScreenshotProgress() *VREventScreenshotProgressData

ScreenshotProgress views the union as its screenshotProgress member.

func (*VREventData) Scroll

func (d *VREventData) Scroll() *VREventScrollData

Scroll views the union as its scroll member.

func (*VREventData) SeatedZeroPoseReset

func (d *VREventData) SeatedZeroPoseReset() *VREventSeatedZeroPoseResetData

SeatedZeroPoseReset views the union as its seatedZeroPoseReset member.

func (*VREventData) ShowDevTools

func (d *VREventData) ShowDevTools() *VREventShowDevToolsData

ShowDevTools views the union as its showDevTools member.

func (*VREventData) ShowUi

func (d *VREventData) ShowUi() *VREventShowUIData

ShowUi views the union as its showUi member.

func (*VREventData) SpatialAnchor

func (d *VREventData) SpatialAnchor() *VREventSpatialAnchorData

SpatialAnchor views the union as its spatialAnchor member.

func (*VREventData) Status

func (d *VREventData) Status() *VREventStatusData

Status views the union as its status member.

func (*VREventData) TouchPadMove

func (d *VREventData) TouchPadMove() *VREventTouchPadMoveData

TouchPadMove views the union as its touchPadMove member.

func (*VREventData) WebConsole

func (d *VREventData) WebConsole() *VREventWebConsoleData

WebConsole views the union as its webConsole member.

type VREventEditingCameraSurfaceData

type VREventEditingCameraSurfaceData struct {
	OverlayHandle uint64 // uint64_t overlayHandle
	VisualMode    uint32 // uint32_t nVisualMode
}

VREventEditingCameraSurfaceData is the VREvent_EditingCameraSurface_t struct.

type VREventHDCPErrorData

type VREventHDCPErrorData struct {
	Code EHDCPError // enum EHDCPError eCode
}

VREventHDCPErrorData is the VREvent_HDCPError_t struct.

type VREventHapticVibrationData

type VREventHapticVibrationData struct {
	ContainerHandle uint64  // uint64_t containerHandle
	ComponentHandle uint64  // uint64_t componentHandle
	DurationSeconds float32 // float fDurationSeconds
	Frequency       float32 // float fFrequency
	Amplitude       float32 // float fAmplitude
}

VREventHapticVibrationData is the VREvent_HapticVibration_t struct.

type VREventInputActionManifestLoadData

type VREventInputActionManifestLoadData struct {
	PathAppKey       uint64 // uint64_t pathAppKey
	PathMessage      uint64 // uint64_t pathMessage
	PathMessageParam uint64 // uint64_t pathMessageParam
	PathManifestPath uint64 // uint64_t pathManifestPath
}

VREventInputActionManifestLoadData is the VREvent_InputActionManifestLoad_t struct.

type VREventInputBindingLoadData

type VREventInputBindingLoadData struct {
	AppContainer       PropertyContainerHandle // PropertyContainerHandle_t ulAppContainer
	PathMessage        uint64                  // uint64_t pathMessage
	PathUrl            uint64                  // uint64_t pathUrl
	PathControllerType uint64                  // uint64_t pathControllerType
}

VREventInputBindingLoadData is the VREvent_InputBindingLoad_t struct.

type VREventIpdData

type VREventIpdData struct {
	IpdMeters float32 // float ipdMeters
}

VREventIpdData is the VREvent_Ipd_t struct.

type VREventKeyboardData

type VREventKeyboardData struct {
	NewInput      [8]byte // char [8] cNewInput
	UserValue     uint64  // uint64_t uUserValue
	OverlayHandle uint64  // uint64_t overlayHandle
}

VREventKeyboardData is the VREvent_Keyboard_t struct.

type VREventMessageOverlayData

type VREventMessageOverlayData struct {
	VRMessageOverlayResponse uint32 // uint32_t unVRMessageOverlayResponse
}

VREventMessageOverlayData is the VREvent_MessageOverlay_t struct.

type VREventMouseData

type VREventMouseData struct {
	X           float32 // float x
	Y           float32 // float y
	Button      uint32  // uint32_t button
	CursorIndex uint32  // uint32_t cursorIndex
}

VREventMouseData is the VREvent_Mouse_t struct.

type VREventNotificationData

type VREventNotificationData struct {
	UserValue      uint64 // uint64_t ulUserValue
	NotificationId uint32 // uint32_t notificationId
}

VREventNotificationData is the VREvent_Notification_t struct.

type VREventOverlayData

type VREventOverlayData struct {
	OverlayHandle uint64 // uint64_t overlayHandle
	DevicePath    uint64 // uint64_t devicePath
	MemoryBlockId uint64 // uint64_t memoryBlockId
	CursorIndex   uint32 // uint32_t cursorIndex
}

VREventOverlayData is the VREvent_Overlay_t struct.

type VREventPerformanceTestData

type VREventPerformanceTestData struct {
	FidelityLevel uint32 // uint32_t m_nFidelityLevel
}

VREventPerformanceTestData is the VREvent_PerformanceTest_t struct.

type VREventProcessData

type VREventProcessData struct {
	Pid            uint32 // uint32_t pid
	OldPid         uint32 // uint32_t oldPid
	Forced         bool   // _Bool bForced
	ConnectionLost bool   // _Bool bConnectionLost
}

VREventProcessData is the VREvent_Process_t struct.

type VREventProgressUpdateData

type VREventProgressUpdateData struct {
	ApplicationPropertyContainer uint64  // uint64_t ulApplicationPropertyContainer
	PathDevice                   uint64  // uint64_t pathDevice
	PathInputSource              uint64  // uint64_t pathInputSource
	PathProgressAction           uint64  // uint64_t pathProgressAction
	PathIcon                     uint64  // uint64_t pathIcon
	Progress                     float32 // float fProgress
}

VREventProgressUpdateData is the VREvent_ProgressUpdate_t struct.

type VREventPropertyData

type VREventPropertyData struct {
	Container PropertyContainerHandle // PropertyContainerHandle_t container
	Prop      ETrackedDeviceProperty  // enum ETrackedDeviceProperty prop
}

VREventPropertyData is the VREvent_Property_t struct.

type VREventReservedData

type VREventReservedData struct {
	Reserved0 uint64 // uint64_t reserved0
	Reserved1 uint64 // uint64_t reserved1
	Reserved2 uint64 // uint64_t reserved2
	Reserved3 uint64 // uint64_t reserved3
	Reserved4 uint64 // uint64_t reserved4
	Reserved5 uint64 // uint64_t reserved5
}

VREventReservedData is the VREvent_Reserved_t struct.

type VREventScreenshotData

type VREventScreenshotData struct {
	Handle uint32 // uint32_t handle
	Type   uint32 // uint32_t type
}

VREventScreenshotData is the VREvent_Screenshot_t struct.

type VREventScreenshotProgressData

type VREventScreenshotProgressData struct {
	Progress float32 // float progress
}

VREventScreenshotProgressData is the VREvent_ScreenshotProgress_t struct.

type VREventScrollData

type VREventScrollData struct {
	Xdelta        float32 // float xdelta
	Ydelta        float32 // float ydelta
	Unused        uint32  // uint32_t unused
	Viewportscale float32 // float viewportscale
	CursorIndex   uint32  // uint32_t cursorIndex
}

VREventScrollData is the VREvent_Scroll_t struct.

type VREventSeatedZeroPoseResetData

type VREventSeatedZeroPoseResetData struct {
	ResetBySystemMenu bool // _Bool bResetBySystemMenu
}

VREventSeatedZeroPoseResetData is the VREvent_SeatedZeroPoseReset_t struct.

type VREventShowDevToolsData

type VREventShowDevToolsData struct {
	BrowserIdentifier int32 // int32_t nBrowserIdentifier
}

VREventShowDevToolsData is the VREvent_ShowDevTools_t struct.

type VREventShowUIData

type VREventShowUIData struct {
	Type EShowUIType // enum EShowUIType eType
}

VREventShowUIData is the VREvent_ShowUI_t struct.

type VREventSpatialAnchorData

type VREventSpatialAnchorData struct {
	Handle SpatialAnchorHandle // SpatialAnchorHandle_t unHandle
}

VREventSpatialAnchorData is the VREvent_SpatialAnchor_t struct.

type VREventStatusData

type VREventStatusData struct {
	StatusState uint32 // uint32_t statusState
}

VREventStatusData is the VREvent_Status_t struct.

type VREventTouchPadMoveData

type VREventTouchPadMoveData struct {
	FingerDown        bool    // _Bool bFingerDown
	SecondsFingerDown float32 // float flSecondsFingerDown
	ValueXFirst       float32 // float fValueXFirst
	ValueYFirst       float32 // float fValueYFirst
	ValueXRaw         float32 // float fValueXRaw
	ValueYRaw         float32 // float fValueYRaw
}

VREventTouchPadMoveData is the VREvent_TouchPadMove_t struct.

type VREventWebConsoleData

type VREventWebConsoleData struct {
	WebConsoleHandle WebConsoleHandle // WebConsoleHandle_t webConsoleHandle
}

VREventWebConsoleData is the VREvent_WebConsole_t struct.

type VREyeTrackingData

type VREyeTrackingData struct {
	Active     bool       // _Bool bActive
	Valid      bool       // _Bool bValid
	Tracked    bool       // _Bool bTracked
	GazeOrigin HmdVector3 // HmdVector3_t vGazeOrigin
	GazeTarget HmdVector3 // HmdVector3_t vGazeTarget
}

VREyeTrackingData is the VREyeTrackingData_t struct.

type VRFirmwareError

type VRFirmwareError = EVRFirmwareError

VRFirmwareError is the VRFirmwareError typedef.

type VRInputComponentHandle

type VRInputComponentHandle uint64

VRInputComponentHandle is the VRInputComponentHandle_t typedef.

type VRInputValueHandle

type VRInputValueHandle uint64

VRInputValueHandle is the VRInputValueHandle_t typedef.

type VRMessageOverlayResponse

type VRMessageOverlayResponse int32

VRMessageOverlayResponse is the VRMessageOverlayResponse enum.

const (
	VRMessageOverlayResponseButtonPress0                     VRMessageOverlayResponse = 0 // VRMessageOverlayResponse_ButtonPress_0
	VRMessageOverlayResponseButtonPress1                     VRMessageOverlayResponse = 1 // VRMessageOverlayResponse_ButtonPress_1
	VRMessageOverlayResponseButtonPress2                     VRMessageOverlayResponse = 2 // VRMessageOverlayResponse_ButtonPress_2
	VRMessageOverlayResponseButtonPress3                     VRMessageOverlayResponse = 3 // VRMessageOverlayResponse_ButtonPress_3
	VRMessageOverlayResponseCouldntFindSystemOverlay         VRMessageOverlayResponse = 4 // VRMessageOverlayResponse_CouldntFindSystemOverlay
	VRMessageOverlayResponseCouldntFindOrCreateClientOverlay VRMessageOverlayResponse = 5 // VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay
	VRMessageOverlayResponseApplicationQuit                  VRMessageOverlayResponse = 6 // VRMessageOverlayResponse_ApplicationQuit
)

type VRNativeDevice

type VRNativeDevice struct {
	Handle unsafe.Pointer // void * handle
	Type   EDeviceType    // enum EDeviceType eType
}

VRNativeDevice is the VRNativeDevice_t struct.

type VRNotificationId

type VRNotificationId uint32

VRNotificationId is the VRNotificationId typedef.

type VROverlayError

type VROverlayError = EVROverlayError

VROverlayError is the VROverlayError typedef.

type VROverlayFlags

type VROverlayFlags int32

VROverlayFlags is the VROverlayFlags enum.

const (
	VROverlayFlagsNoDashboardTab                     VROverlayFlags = 8         // VROverlayFlags_NoDashboardTab
	VROverlayFlagsSendVRDiscreteScrollEvents         VROverlayFlags = 64        // VROverlayFlags_SendVRDiscreteScrollEvents
	VROverlayFlagsSendVRTouchpadEvents               VROverlayFlags = 128       // VROverlayFlags_SendVRTouchpadEvents
	VROverlayFlagsShowTouchPadScrollWheel            VROverlayFlags = 256       // VROverlayFlags_ShowTouchPadScrollWheel
	VROverlayFlagsTransferOwnershipToInternalProcess VROverlayFlags = 512       // VROverlayFlags_TransferOwnershipToInternalProcess
	VROverlayFlagsSideBySideParallel                 VROverlayFlags = 1024      // VROverlayFlags_SideBySide_Parallel
	VROverlayFlagsSideBySideCrossed                  VROverlayFlags = 2048      // VROverlayFlags_SideBySide_Crossed
	VROverlayFlagsPanorama                           VROverlayFlags = 4096      // VROverlayFlags_Panorama
	VROverlayFlagsStereoPanorama                     VROverlayFlags = 8192      // VROverlayFlags_StereoPanorama
	VROverlayFlagsSortWithNonSceneOverlays           VROverlayFlags = 16384     // VROverlayFlags_SortWithNonSceneOverlays
	VROverlayFlagsVisibleInDashboard                 VROverlayFlags = 32768     // VROverlayFlags_VisibleInDashboard
	VROverlayFlagsMakeOverlaysInteractiveIfVisible   VROverlayFlags = 65536     // VROverlayFlags_MakeOverlaysInteractiveIfVisible
	VROverlayFlagsSendVRSmoothScrollEvents           VROverlayFlags = 131072    // VROverlayFlags_SendVRSmoothScrollEvents
	VROverlayFlagsProtectedContent                   VROverlayFlags = 262144    // VROverlayFlags_ProtectedContent
	VROverlayFlagsHideLaserIntersection              VROverlayFlags = 524288    // VROverlayFlags_HideLaserIntersection
	VROverlayFlagsWantsModalBehavior                 VROverlayFlags = 1048576   // VROverlayFlags_WantsModalBehavior
	VROverlayFlagsIsPremultiplied                    VROverlayFlags = 2097152   // VROverlayFlags_IsPremultiplied
	VROverlayFlagsIgnoreTextureAlpha                 VROverlayFlags = 4194304   // VROverlayFlags_IgnoreTextureAlpha
	VROverlayFlagsEnableControlBar                   VROverlayFlags = 8388608   // VROverlayFlags_EnableControlBar
	VROverlayFlagsEnableControlBarKeyboard           VROverlayFlags = 16777216  // VROverlayFlags_EnableControlBarKeyboard
	VROverlayFlagsEnableControlBarClose              VROverlayFlags = 33554432  // VROverlayFlags_EnableControlBarClose
	VROverlayFlagsMinimalControlBar                  VROverlayFlags = 67108864  // VROverlayFlags_MinimalControlBar
	VROverlayFlagsEnableClickStabilization           VROverlayFlags = 134217728 // VROverlayFlags_EnableClickStabilization
	VROverlayFlagsMultiCursor                        VROverlayFlags = 268435456 // VROverlayFlags_MultiCursor
	VROverlayFlagsNoBackside                         VROverlayFlags = 536870912 // VROverlayFlags_NoBackside
)

type VROverlayHandle

type VROverlayHandle uint64

VROverlayHandle is the VROverlayHandle_t typedef.

type VROverlayInputMethod

type VROverlayInputMethod int32

VROverlayInputMethod is the VROverlayInputMethod enum.

const (
	VROverlayInputMethodNone  VROverlayInputMethod = 0 // VROverlayInputMethod_None
	VROverlayInputMethodMouse VROverlayInputMethod = 1 // VROverlayInputMethod_Mouse
)

type VROverlayIntersectionMaskPrimitive

type VROverlayIntersectionMaskPrimitive struct {
	PrimitiveType EVROverlayIntersectionMaskPrimitiveType // enum EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType
	Primitive     VROverlayIntersectionMaskPrimitiveData  // VROverlayIntersectionMaskPrimitive_Data_t m_Primitive
}

VROverlayIntersectionMaskPrimitive is the VROverlayIntersectionMaskPrimitive_t struct.

type VROverlayIntersectionMaskPrimitiveData

type VROverlayIntersectionMaskPrimitiveData [4]float32

VROverlayIntersectionMaskPrimitiveData is the VROverlayIntersectionMaskPrimitive_Data_t union. Use the accessor methods to view it as one of its members.

func (*VROverlayIntersectionMaskPrimitiveData) Circle

Circle views the union as its m_Circle member.

func (*VROverlayIntersectionMaskPrimitiveData) Rectangle

Rectangle views the union as its m_Rectangle member.

type VROverlayIntersectionParams

type VROverlayIntersectionParams struct {
	Source    HmdVector3              // struct HmdVector3_t vSource
	Direction HmdVector3              // struct HmdVector3_t vDirection
	Origin    ETrackingUniverseOrigin // enum ETrackingUniverseOrigin eOrigin
}

VROverlayIntersectionParams is the VROverlayIntersectionParams_t struct.

type VROverlayIntersectionResults

type VROverlayIntersectionResults struct {
	Point    HmdVector3 // struct HmdVector3_t vPoint
	Normal   HmdVector3 // struct HmdVector3_t vNormal
	UVs      HmdVector2 // struct HmdVector2_t vUVs
	Distance float32    // float fDistance
}

VROverlayIntersectionResults is the VROverlayIntersectionResults_t struct.

type VROverlayProjection

type VROverlayProjection struct {
	Left   float32 // float fLeft
	Right  float32 // float fRight
	Top    float32 // float fTop
	Bottom float32 // float fBottom
}

VROverlayProjection is the VROverlayProjection_t struct.

type VROverlayTransformType

type VROverlayTransformType int32

VROverlayTransformType is the VROverlayTransformType enum.

const (
	VROverlayTransformInvalid               VROverlayTransformType = -1 // VROverlayTransform_Invalid
	VROverlayTransformAbsolute              VROverlayTransformType = 0  // VROverlayTransform_Absolute
	VROverlayTransformTrackedDeviceRelative VROverlayTransformType = 1  // VROverlayTransform_TrackedDeviceRelative
	VROverlayTransformTrackedComponent      VROverlayTransformType = 3  // VROverlayTransform_TrackedComponent
	VROverlayTransformCursor                VROverlayTransformType = 4  // VROverlayTransform_Cursor
	VROverlayTransformDashboardTab          VROverlayTransformType = 5  // VROverlayTransform_DashboardTab
	VROverlayTransformDashboardThumb        VROverlayTransformType = 6  // VROverlayTransform_DashboardThumb
	VROverlayTransformMountable             VROverlayTransformType = 7  // VROverlayTransform_Mountable
	VROverlayTransformProjection            VROverlayTransformType = 8  // VROverlayTransform_Projection
	VROverlayTransformSubview               VROverlayTransformType = 9  // VROverlayTransform_Subview
)

type VROverlayViewInfo

type VROverlayViewInfo struct {
	OverlayHandle VROverlayHandle // VROverlayHandle_t overlayHandle
	Texture       Texture         // struct Texture_t texture
	TextureBounds VRTextureBounds // struct VRTextureBounds_t textureBounds
}

VROverlayViewInfo is the VROverlayView_t struct.

type VRScreenshotsError

type VRScreenshotsError = EVRScreenshotError

VRScreenshotsError is the VRScreenshotsError typedef.

type VRSkeletalSummaryData

type VRSkeletalSummaryData struct {
	FingerCurl  [5]float32 // float [5] flFingerCurl
	FingerSplay [4]float32 // float [4] flFingerSplay
}

VRSkeletalSummaryData is the VRSkeletalSummaryData_t struct.

type VRState

type VRState = EVRState

VRState is the VRState_t typedef.

type VRSubmitFlags

type VRSubmitFlags = EVRSubmitFlags

VRSubmitFlags is the VRSubmitFlags_t typedef.

type VRTextureBounds

type VRTextureBounds struct {
	UMin float32 // float uMin
	VMin float32 // float vMin
	UMax float32 // float uMax
	VMax float32 // float vMax
}

VRTextureBounds is the VRTextureBounds_t struct.

type VRTextureDepthInfo

type VRTextureDepthInfo struct {
	Handle     unsafe.Pointer // void * handle
	Projection HmdMatrix44    // struct HmdMatrix44_t mProjection
	Range      HmdVector2     // struct HmdVector2_t vRange
}

VRTextureDepthInfo is the VRTextureDepthInfo_t struct.

type VRTextureMotionInfo

type VRTextureMotionInfo struct {
	Handle    unsafe.Pointer // void * handle
	DeltaPose HmdMatrix44    // struct HmdMatrix44_t mDeltaPose
}

VRTextureMotionInfo is the VRTextureMotionInfo_t struct.

type VRTextureWithDepth

type VRTextureWithDepth struct {
	Texture                    // base class Texture_t
	Depth   VRTextureDepthInfo // struct VRTextureDepthInfo_t depth
}

VRTextureWithDepth is the VRTextureWithDepth_t struct.

type VRTextureWithMotion

type VRTextureWithMotion struct {
	VRTextureWithPoseAndDepth                     // base class VRTextureWithPoseAndDepth_t
	Motion                    VRTextureMotionInfo // struct VRTextureMotionInfo_t motion
}

VRTextureWithMotion is the VRTextureWithMotion_t struct.

type VRTextureWithPose

type VRTextureWithPose struct {
	Texture                              // base class Texture_t
	DeviceToAbsoluteTracking HmdMatrix34 // struct HmdMatrix34_t mDeviceToAbsoluteTracking
}

VRTextureWithPose is the VRTextureWithPose_t struct.

type VRTextureWithPoseAndDepth

type VRTextureWithPoseAndDepth struct {
	VRTextureWithPose                    // base class VRTextureWithPose_t
	Depth             VRTextureDepthInfo // struct VRTextureDepthInfo_t depth
}

VRTextureWithPoseAndDepth is the VRTextureWithPoseAndDepth_t struct.

type VRVulkanDevice

type VRVulkanDevice struct {
	Instance         unsafe.Pointer // struct VkInstance_T * m_pInstance
	Device           unsafe.Pointer // struct VkDevice_T * m_pDevice
	PhysicalDevice   unsafe.Pointer // struct VkPhysicalDevice_T * m_pPhysicalDevice
	Queue            unsafe.Pointer // struct VkQueue_T * m_pQueue
	QueueFamilyIndex uint32         // uint32_t m_uQueueFamilyIndex
}

VRVulkanDevice is the VRVulkanDevice_t struct.

type VRVulkanTextureArrayData

type VRVulkanTextureArrayData struct {
	VRVulkanTextureData        // base class VRVulkanTextureData_t
	ArrayIndex          uint32 // uint32_t m_unArrayIndex
	ArraySize           uint32 // uint32_t m_unArraySize
}

VRVulkanTextureArrayData is the VRVulkanTextureArrayData_t struct.

type VRVulkanTextureData

type VRVulkanTextureData struct {
	Image            uint64         // uint64_t m_nImage
	Device           unsafe.Pointer // struct VkDevice_T * m_pDevice
	PhysicalDevice   unsafe.Pointer // struct VkPhysicalDevice_T * m_pPhysicalDevice
	Instance         unsafe.Pointer // struct VkInstance_T * m_pInstance
	Queue            unsafe.Pointer // struct VkQueue_T * m_pQueue
	QueueFamilyIndex uint32         // uint32_t m_nQueueFamilyIndex
	Width            uint32         // uint32_t m_nWidth
	Height           uint32         // uint32_t m_nHeight
	Format           uint32         // uint32_t m_nFormat
	SampleCount      uint32         // uint32_t m_nSampleCount
}

VRVulkanTextureData is the VRVulkanTextureData_t struct.

type VrProfilerEventHandle

type VrProfilerEventHandle uint64

VrProfilerEventHandle is the VrProfilerEventHandle_t typedef.

type WebConsoleHandle

type WebConsoleHandle uint64

WebConsoleHandle is the WebConsoleHandle_t typedef.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL