1#ifndef VULKAN_MACOS_H_ 2#define VULKAN_MACOS_H_ 1 3 4/* 5** Copyright 2015-2024 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 17extern "C" { 18#endif 19 20 21 22// VK_MVK_macos_surface is a preprocessor guard. Do not pass it to API calls. 23#define VK_MVK_macos_surface 1 24#define VK_MVK_MACOS_SURFACE_SPEC_VERSION 3 25#define VK_MVK_MACOS_SURFACE_EXTENSION_NAME "VK_MVK_macos_surface" 26typedef VkFlags VkMacOSSurfaceCreateFlagsMVK; 27typedef struct VkMacOSSurfaceCreateInfoMVK { 28 VkStructureType sType; 29 const void* pNext; 30 VkMacOSSurfaceCreateFlagsMVK flags; 31 const void* pView; 32} VkMacOSSurfaceCreateInfoMVK; 33 34typedef VkResult (VKAPI_PTR *PFN_vkCreateMacOSSurfaceMVK)(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface); 35 36#ifndef VK_NO_PROTOTYPES 37VKAPI_ATTR VkResult VKAPI_CALL vkCreateMacOSSurfaceMVK( 38 VkInstance instance, 39 const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, 40 const VkAllocationCallbacks* pAllocator, 41 VkSurfaceKHR* pSurface); 42#endif 43 44#ifdef __cplusplus 45} 46#endif 47 48#endif 49