Skip to content
0.2.0-dev Download ZIP
18 lines ·558 B Raw
1// Copyright (c) 2017-2026 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.
12namespace LoaderProperty {
13std::string Get(const std::string& name);
14std::string GetSecure(const std::string& name);
15bool IsSet(const std::string& name);
16void SetOverride(std::string name, std::string value);
17void ClearOverrides();
18} // namespace LoaderProperty