Monado OpenXR Runtime
xrt_vulkan_includes.h
Go to the documentation of this file.
1 // Copyright 2018-2020, Collabora, Ltd.
2 // SPDX-License-Identifier: BSL-1.0
3 /*!
4  * @file
5  * @brief Include all of the Vulkan headers in one place.
6  * @author Jakob Bornecrantz <jakob@collabora.com>
7  * @ingroup xrt_iface
8  */
9 
10 #pragma once
11 
12 #include "xrt/xrt_config_vulkan.h"
13 #define VK_NO_PROTOTYPES
14 #include <vulkan/vulkan.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
21 vkGetInstanceProcAddr(VkInstance instance, const char *pName);
22 
23 #ifdef __cplusplus
24 }
25 #endif