Monado OpenXR Runtime
Loading...
Searching...
No Matches
XRTVRCompositor_007.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 IVRCompositor interface version 007.
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 XRTVRCompositor_007 : public XRTVRCompositor_008, public vr::IVRCompositor_007
27{
28public:
29 // @todo Remove when clang-format is updated in CI
30 // clang-format off
32 // clang-format on
33
34 void *
35 getFnTable()
36 {
37 // No FnTable available for IVRCompositor_007.
38 return nullptr;
39 }
40
41 ForwardDeclareBase_IVRCompositor(XRTVRCompositor_008);
42
43 Forward_IVRCompositor_GetLastError();
44 Forward_IVRCompositor_SetVSync();
45 Forward_IVRCompositor_GetVSync();
46 Forward_IVRCompositor_SetGamma();
47 Forward_IVRCompositor_GetGamma();
48 Forward_IVRCompositor_WaitGetPoses_008();
49
50 VRCompositorError
51 Submit(Hmd_Eye eEye,
52 GraphicsAPIConvention eTextureType,
53 void *pTexture,
54 const VRTextureBounds_t *pBounds) override
55 {
56 return ForwardBase_IVRCompositor::Submit(eEye, eTextureType, pTexture, pBounds);
57 }
58
59 Forward_IVRCompositor_ClearLastSubmittedFrame();
60 Forward_IVRCompositor_GetFrameTiming();
61 Forward_IVRCompositor_FadeToColor();
62 Forward_IVRCompositor_FadeGrid_026();
63 Forward_IVRCompositor_CompositorBringToFront();
64 Forward_IVRCompositor_CompositorGoToBack();
65 Forward_IVRCompositor_CompositorQuit();
66 Forward_IVRCompositor_IsFullscreen();
67 Forward_IVRCompositor_SetTrackingSpace_008();
68 Forward_IVRCompositor_GetTrackingSpace_008();
69 Forward_IVRCompositor_GetCurrentSceneFocusProcess();
70 Forward_IVRCompositor_CanRenderScene();
71};
72
73}; // namespace xrt::state_trackers::openvr
Implementation of the latest IVRCompositor interface version.
Implementation of the IVRCompositor interface version 008.
Definition XRTVRClientCore.hpp:152
Definition XRTVRCompositor_007.hpp:27
Definition XRTVRCompositor_008.hpp:27
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15
Logging functions.