License#
Unless otherwise noted, the code in this repository is licensed under the Apache 2.0 license.
Known exceptions#
Certain headers from the OpenXR SDK or related extensions are imported from their original source and are licensed under the MIT license or Boost Software License 1.0.
CloudXR SDK is NVIDIA’s proprietary software, licensed under the NVIDIA CloudXR License.
License headers#
We use REUSE to enforce SPDX license headers on source files.
Pre-commit runs
reuse lint-file on changed files (e.g. .py, .cpp, .md, .yaml):
Required fields: Each file must have
SPDX-FileCopyrightTextandSPDX-License-Identifier.License:
SPDX-License-Identifiermust beApache-2.0(full text inLICENSES/Apache-2.0.txt).
Example header (for Python files):
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
You can also run reuse spdx -o project.spdx to generate an SPDX report for the project.