Crate openvr_sys2

Source

Modules§

vr

Structs§

Compositor_BenchmarkResults
Provides compositor benchmark results to the app
Compositor_CumulativeStats
Cumulative stats for current application. These are not cleared until a new app connects, but they do stop accumulating once the associated app disconnects.
Compositor_FrameTiming
Provides a single frame’s timing information to the app
Compositor_StageRenderSettings
DistortionCoordinates_t
Used to return the post-distortion UVs for each color channel. UVs range from 0 to 1 with 0,0 in the upper left corner of the source render target. The 0,0 to 1,1 range covers a single eye.
HiddenAreaMesh_t
The mesh to draw into the stencil (or depth) buffer to perform early stencil (or depth) kills of pixels that will never appear on the HMD. This mesh draws on all the pixels that will be hidden after distortion.
HmdColor_t
HmdMatrix34_t
HmdMatrix44_t
HmdRect2_t
HmdVector2_t
HmdVector3_t
IVRCompositor
Allows the application to interact with the compositor
IVRInput
IVROverlay
IVRSystem
InputAnalogActionData_t
InputBindingInfo_t
InputDigitalActionData_t
InputOriginInfo_t
InputPoseActionData_t
InputSkeletalActionData_t
RenderModel_ComponentState_t
Describes state information about a render-model component, including transforms and other dynamic properties
Texture_t
TrackedDevicePose_t
describes a single pose for a tracked object
VRActiveActionSet_t
VRBoneTransform_t
Holds the transform for a single bone
VRControllerState001_t
Holds all the state of a controller at one moment in time.
VREvent_ApplicationLaunch_t
VREvent_Chaperone_t
VREvent_Controller_t
used for controller button events
VREvent_EditingCameraSurface_t
VREvent_HDCPError_t
VREvent_HapticVibration_t
VREvent_InputActionManifestLoad_t
VREvent_InputBindingLoad_t
VREvent_Ipd_t
VREvent_Keyboard_t
Used for keyboard events
VREvent_MessageOverlay_t
VREvent_Mouse_t
used for simulated mouse events in overlay space
VREvent_Notification_t
notification related events. Details will still change at this point
VREvent_Overlay_t
Used for a few events about overlays
VREvent_PerformanceTest_t
VREvent_Process_t
Used for events about processes
VREvent_ProgressUpdate_t
VREvent_Property_t
VREvent_Reserved_t
Not actually used for any events
VREvent_ScreenshotProgress_t
VREvent_Screenshot_t
VREvent_Scroll_t
used for simulated mouse wheel scroll
VREvent_SeatedZeroPoseReset_t
VREvent_ShowDevTools_t
VREvent_ShowUI_t
VREvent_SpatialAnchor_t
VREvent_Status_t
Used for a few events about overlays
VREvent_TouchPadMove_t
when in mouse input mode you can receive data from the touchpad, these events are only sent if the users finger is on the touchpad (or just released from it). These events are sent to overlays with the VROverlayFlags_SendVRTouchpadEvents flag set.
VREvent_WebConsole_t
VREvent_t
VREvent_t
An event posted by the server to all running applications
VROverlayIntersectionMaskPrimitive_t
VROverlayIntersectionParams_t
VROverlayIntersectionResults_t
VROverlayProjection_t
Defines the project used in an overlay that is using SetOverlayTransformProjection
VRSkeletalSummaryData_t
Contains summary information about the current skeletal pose
VRTextureBounds_t
Allows the application to control what part of the provided texture will be used in the frame buffer.
VRVulkanTextureData_t
Data required for passing Vulkan textures to IVRCompositor::Submit. Be sure to call OpenVR_Shutdown before destroying these resources. Please see https://github.com/ValveSoftware/openvr/wiki/Vulkan for Vulkan-specific documentation
VkDevice_T
VkInstance_T
VkPhysicalDevice_T
VkQueue_T

Enums§

EColorSpace
EDeviceActivityLevel
Level of Hmd activity
EGamepadTextInputLineMode
EGamepadTextInputMode
EHDCPError
EHiddenAreaMeshType
EShowUIType
ETextureType
ETrackedControllerRole
Describes what specific role associated with a tracked device
ETrackedDeviceClass
Describes what kind of object is being tracked at a given ID
ETrackedDeviceProperty
Each entry in this enum represents a property that can be retrieved about a tracked device. Many fields are only valid for one ETrackedDeviceClass.
ETrackedPropertyError
Used to return errors that occur when reading properties.
ETrackingResult
ETrackingUniverseOrigin
Identifies which style of tracking origin the application wants to use for the poses it is requesting
EVRApplicationType
enum values to pass in to VR_Init to identify whether the application will draw a 3D scene.
EVRButtonId
VR controller button and axis IDs
EVRCompositorError
Errors that can occur with the VR compositor
EVRCompositorTimingMode
Timing mode passed to SetExplicitTimingMode(); see that function for documentation
EVRControllerAxisType
Identifies what kind of axis is on the controller at index n. Read this type with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );
EVREventType
The types of events that could be posted (and what the parameters mean for each event type)
EVREye
EVRFirmwareError
error codes for firmware
EVRInitError
error codes returned by Vr_Init
EVRInputError
EVROverlayError
Errors that can occur around VR overlays
EVRSkeletalMotionRange
EVRSkeletalReferencePose
EVRSkeletalTrackingLevel
EVRSkeletalTransformSpace
EVRSubmitFlags
Allows the application to control how scene textures are used by the compositor when calling Submit.
EVRSummaryType
VRMessageOverlayResponse
VROverlayFlags
Overlay control settings
VROverlayInputMethod
Types of input supported by VR Overlays
VROverlayTransformType
Allows the caller to figure out which overlay transform getter to call.

Constants§

k_ulInvalidInputValueHandle

Traits§

ToCppString

Functions§

VRCompositor
VRInput
VROverlay
VR_Init
Finds the active installation of the VR API and initializes it. The provided path must be absolute or relative to the current working directory. These are the local install versions of the equivalent functions in steamvr.h and will work without a local Steam install.
VR_IsHmdPresent
Returns true if there is an HMD attached. This check is as lightweight as possible and can be called outside of VR_Init/VR_Shutdown. It should be used when an application wants to know if initializing VR is a possibility but isn’t ready to take that step yet.
VR_Shutdown
unloads vrclient.dll. Any interface pointers from the interface are invalid after this point
make_string

Type Aliases§

BoneIndex_t
Type used for referring to bones by their index
PropertyContainerHandle_t
PropertyTypeTag_t
SpatialAnchorHandle_t
A handle for a spatial anchor. This handle is only valid during the session it was created in. Anchors that live beyond one session should be saved by their string descriptors.
TrackedDeviceIndex_t
Used to pass device IDs to API calls
VRActionHandle_t
VRActionSetHandle_t
VRControllerState_t
Holds all the state of a controller at one moment in time.
VRInputValueHandle_t
VROverlayHandle_t
used to refer to a single VR overlay
WebConsoleHandle_t
glSharedTextureHandle_t
glUInt_t

Unions§

VREvent_Data_t