Monado OpenXR Runtime
Loading...
Searching...
No Matches
XRTVRSystem_020.hpp
Go to the documentation of this file.
1// Copyright 2026, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Implementation of the IVRSystem interface version 020.
6 *
7 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
8 * @ingroup openvr_interfaces
9 */
10
11#pragma once
12
14
15#include "openvr_interfaces_unified.h"
16#include "openvr_forward_macros.h"
17
20
21
22namespace xrt::state_trackers::openvr {
23
24using namespace vr;
25
26class XRTVRSystem_020 : public XRTVRSystem_021, public vr::IVRSystem_020
27{
28public:
29 // @todo Remove when clang-format is updated in CI
30 // clang-format off
32 // clang-format on
33
34 FnTable_IVRSystem_020();
35
36 ForwardDeclareBase_IVRSystem(XRTVRSystem_021);
37
38 Forward_IVRSystem_GetRecommendedRenderTargetSize();
39 Forward_IVRSystem_GetProjectionMatrix_026();
40 Forward_IVRSystem_GetProjectionRaw_026();
41 Forward_IVRSystem_ComputeDistortion_026();
42 Forward_IVRSystem_GetEyeToHeadTransform_026();
43 Forward_IVRSystem_GetTimeSinceLastVsync();
44 Forward_IVRSystem_GetD3D9AdapterIndex();
45 Forward_IVRSystem_GetDXGIOutputInfo_026();
46 Forward_IVRSystem_GetOutputDevice_026();
47 Forward_IVRSystem_IsDisplayOnDesktop();
48 Forward_IVRSystem_SetDisplayVisibility();
49 Forward_IVRSystem_GetDeviceToAbsoluteTrackingPose_026();
50 Forward_IVRSystem_ResetSeatedZeroPose();
51 Forward_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose();
52 Forward_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose();
53 Forward_IVRSystem_GetSortedTrackedDeviceIndicesOfClass_026();
54 Forward_IVRSystem_GetTrackedDeviceActivityLevel();
55 Forward_IVRSystem_ApplyTransform_026();
56 Forward_IVRSystem_GetTrackedDeviceIndexForControllerRole();
57 Forward_IVRSystem_GetControllerRoleForTrackedDeviceIndex();
58 Forward_IVRSystem_GetTrackedDeviceClass_026();
59 Forward_IVRSystem_IsTrackedDeviceConnected();
60 Forward_IVRSystem_GetBoolTrackedDeviceProperty_026();
61 Forward_IVRSystem_GetFloatTrackedDeviceProperty_026();
62 Forward_IVRSystem_GetInt32TrackedDeviceProperty_026();
63 Forward_IVRSystem_GetUint64TrackedDeviceProperty_026();
64 Forward_IVRSystem_GetMatrix34TrackedDeviceProperty_026();
65 Forward_IVRSystem_GetArrayTrackedDeviceProperty();
66 Forward_IVRSystem_GetStringTrackedDeviceProperty_026();
67 Forward_IVRSystem_GetPropErrorNameFromEnum_026();
68 Forward_IVRSystem_PollNextEvent_026();
69 Forward_IVRSystem_PollNextEventWithPose_026();
70 Forward_IVRSystem_PollNextEventWithPoseAndOverlays();
71 Forward_IVRSystem_GetEventTypeNameFromEnum();
72 Forward_IVRSystem_GetHiddenAreaMesh_026();
73 Forward_IVRSystem_GetControllerState_026();
74 Forward_IVRSystem_GetControllerStateWithPose_026();
75 Forward_IVRSystem_TriggerHapticPulse();
76 Forward_IVRSystem_GetButtonIdNameFromEnum();
77 Forward_IVRSystem_GetControllerAxisTypeNameFromEnum();
78 Forward_IVRSystem_IsInputAvailable();
79 Forward_IVRSystem_IsSteamVRDrawingControllers();
80 Forward_IVRSystem_ShouldApplicationPause();
81 Forward_IVRSystem_ShouldApplicationReduceRenderingWork();
82 Forward_IVRSystem_PerformFirmwareUpdate_026();
83 Forward_IVRSystem_AcknowledgeQuit_Exiting();
84
85 void
86 AcknowledgeQuit_UserPrompt() override
87 {
88 openvr_logger logger;
89 OPENVR_LOGGER_INIT(logger);
90 OPENVR_LOG_UNIMPLEMENTED(logger, "AcknowledgeQuit_UserPrompt()");
91 }
92
93 Forward_IVRSystem_GetAppContainerFilePaths();
94 Forward_IVRSystem_GetRuntimeVersion();
95};
96
97}; // namespace xrt::state_trackers::openvr
Implementation of the latest IVRSystem interface version.
Implementation of the IVRSystem interface version 023.
Definition XRTVRClientCore.hpp:47
Definition XRTVRSystem_020.hpp:27
Definition XRTVRSystem_021.hpp:26
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15
Logging functions.
#define OPENVR_LOG_UNIMPLEMENTED(logger, fmt,...)
Specialized macro for logging an unimplemented function.
Definition openvr_logger.hpp:51
Definition openvr_logger.hpp:30