|
1501
|
1 #ifndef VULKAN_IOS_H_
|
|
|
2 #define VULKAN_IOS_H_ 1
|
|
|
3
|
|
|
4 /*
|
|
|
5 ** Copyright 2015-2025 The Khronos Group Inc.
|
|
|
6 **
|
|
|
7 ** SPDX-License-Identifier: Apache-2.0
|
|
|
8 */
|
|
|
9
|
|
|
10 /*
|
|
|
11 ** This header is generated from the Khronos Vulkan XML API Registry.
|
|
|
12 **
|
|
|
13 */
|
|
|
14
|
|
|
15
|
|
|
16 #ifdef __cplusplus
|
|
|
17 extern "C" {
|
|
|
18 #endif
|
|
|
19
|
|
|
20
|
|
|
21
|
|
|
22 // VK_MVK_ios_surface is a preprocessor guard. Do not pass it to API calls.
|
|
|
23 #define VK_MVK_ios_surface 1
|
|
|
24 #define VK_MVK_IOS_SURFACE_SPEC_VERSION 3
|
|
|
25 #define VK_MVK_IOS_SURFACE_EXTENSION_NAME "VK_MVK_ios_surface"
|
|
|
26 typedef VkFlags VkIOSSurfaceCreateFlagsMVK;
|
|
|
27 typedef struct VkIOSSurfaceCreateInfoMVK {
|
|
|
28 VkStructureType sType;
|
|
|
29 const void* pNext;
|
|
|
30 VkIOSSurfaceCreateFlagsMVK flags;
|
|
|
31 const void* pView;
|
|
|
32 } VkIOSSurfaceCreateInfoMVK;
|
|
|
33
|
|
|
34 typedef VkResult (VKAPI_PTR *PFN_vkCreateIOSSurfaceMVK)(VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
|
|
35
|
|
|
36 #ifndef VK_NO_PROTOTYPES
|
|
|
37 #ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
|
38 VKAPI_ATTR VkResult VKAPI_CALL vkCreateIOSSurfaceMVK(
|
|
|
39 VkInstance instance,
|
|
|
40 const VkIOSSurfaceCreateInfoMVK* pCreateInfo,
|
|
|
41 const VkAllocationCallbacks* pAllocator,
|
|
|
42 VkSurfaceKHR* pSurface);
|
|
|
43 #endif
|
|
|
44 #endif
|
|
|
45
|
|
|
46 #ifdef __cplusplus
|
|
|
47 }
|
|
|
48 #endif
|
|
|
49
|
|
|
50 #endif
|