evan 2026.1.4
Evan
Loading...
Searching...
No Matches
LinuxXrPlatform.hpp
1/*
2** ETIB PROJECT, 2026
3** evan
4** File description:
5** LinuxXrPlatform
6*/
7
8#pragma once
9
10#include "evan/openxr/IXrPlatform.hpp"
11
12#include <filesystem>
13
14namespace evan
15{
16
28 {
29 public:
38
47 ~LinuxXrPlatform() = default;
48
49 public:
62 std::vector<std::string> getRequiredInstanceExtensions() const override;
63
75 const XrBaseInStructure *getInstanceCreateInfo() const override;
76
77 protected:
84 std::filesystem::path getDefaultCacheRoot() const override;
85 };
86
87} // namespace evan
OpenXR platform implementation.
The LinuxXrPlatform class provides platform-specific implementations for OpenXR on Linux devices.
const XrBaseInStructure * getInstanceCreateInfo() const override
Retrieves the instance creation information for the Linux OpenXR platform.
std::vector< std::string > getRequiredInstanceExtensions() const override
Retrieves the required instance extensions for the Linux OpenXR platform.
std::filesystem::path getDefaultCacheRoot() const override
Get the Linux cache root directory.
LinuxXrPlatform()
Constructs a LinuxXrPlatform instance.
~LinuxXrPlatform()=default
Destructor for the LinuxXrPlatform class.
Small result wrapper used by helpers that must return both a status and a value (e....
Definition Error.hpp:89