Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/openxr/src/loader/loader_properties.hpp
11325 views
1
// Copyright (c) 2017-2025 The Khronos Group Inc.
2
//
3
// SPDX-License-Identifier: Apache-2.0 OR MIT
4
//
5
6
#pragma once
7
8
#include <string>
9
10
// Exposes a centralized way to read properties which may be passed to the loader through xrInitializeLoaderKHR or available through
11
// environment variables.
12
namespace LoaderProperty {
13
std::string Get(const std::string& name);
14
std::string GetSecure(const std::string& name);
15
bool IsSet(const std::string& name);
16
void SetOverride(std::string name, std::string value);
17
void ClearOverrides();
18
} // namespace LoaderProperty
19
20