Skyscraper 2.0
OgreOpenXRConfig.h
Go to the documentation of this file.
1/*
2 Skyscraper 2.0 - OpenXR Configuration
3 Portions Copyright (C)2024 Ryan Thoryk
4 MIT license - see LICENSE file
5 https://www.skyscrapersim.net
6 https://sourceforge.net/projects/skyscraper/
7 Contact - ryan@skyscrapersim.net
8*/
9
10/*
11 Original work produced by Glastonbridge Software Limited. This code is provided under the MIT license.
12 https://github.com/glastonbridge/OgreOpenXRRenderWindow
13*/
14
15#pragma once
20#define XR_USE_GRAPHICS_API_D3D11
21#define XR_USE_PLATFORM_WIN32
22#define ENABLE_GLOBAL_XR_DISPATCH_TABLE
23
24#if defined(_WIN32)
25# ifdef OGREOPENXRDLL_EXPORTS
26# define _OgreOpenXRExport __declspec(dllexport)
27# else
28# if defined( __MINGW32__ )
29# define _OgreOpenXRExport
30# else
31# define _OgreOpenXRExport __declspec(dllimport)
32# endif
33# endif
34#else
35# define _OgreOpenXRExport
36#endif