Blender V4.3
GHOST_Xr_openxr_includes.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2012-2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
13#pragma once
14
15/* Platform headers */
16#ifdef XR_USE_PLATFORM_WIN32
17# define WIN32_LEAN_AND_MEAN
18# define NOMINMAX
19# include <windows.h>
20#endif
21
22/* Graphics headers */
23#ifdef XR_USE_GRAPHICS_API_D3D10
24# include <d3d10_1.h>
25#endif
26#ifdef XR_USE_GRAPHICS_API_D3D11
27# include <d3d11.h>
28#endif
29#ifdef XR_USE_GRAPHICS_API_D3D12
30# include <d3d12.h>
31#endif
32#ifdef WITH_GHOST_X11
33# include <epoxy/egl.h>
34# include <epoxy/glx.h>
35#endif
36
37#include <openxr/openxr.h>
38#include <openxr/openxr_platform.h>