Monado OpenXR Runtime
Loading...
Searching...
No Matches
XRTVRResources.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 latest IVRResources_001 interface version.
6 *
7 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
8 * @ingroup openvr_interfaces
9 */
10
11#pragma once
12
13#include "openvr_interfaces_unified.h"
14#include "openvr_forward_macros.h"
15
16#include "XRTVRClientCore.hpp"
17
18
19namespace xrt::state_trackers::openvr {
20
21using namespace vr;
22
23class XRTVRResources_001 : public vr::IVRResources_001
24{
25private:
27
28public:
30
31 virtual ~XRTVRResources_001() = default;
32
33 FnTable_IVRResources_001();
34
35 uint32_t
36 LoadSharedResource(const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen) override;
37
38 uint32_t
39 GetResourceFullPath(const char *pchResourceName,
40 const char *pchResourceTypeDirectory,
41 char *pchPathBuffer,
42 uint32_t unBufferLen) override;
43};
44
45} // namespace xrt::state_trackers::openvr
Implementation of the latest IVRClientCore interface version.
Definition XRTVRClientCore.hpp:152
Definition XRTVRResources.hpp:24
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15