| #define VULKAN_METAL_H_ 1 |
| ** Copyright (c) 2015-2020 The Khronos Group Inc. |
| ** SPDX-License-Identifier: Apache-2.0 |
| ** This header is generated from the Khronos Vulkan XML API Registry. |
| #define VK_EXT_metal_surface 1 |
| typedef void CAMetalLayer; |
| #define VK_EXT_METAL_SURFACE_SPEC_VERSION 1 |
| #define VK_EXT_METAL_SURFACE_EXTENSION_NAME "VK_EXT_metal_surface" |
| typedef VkFlags VkMetalSurfaceCreateFlagsEXT; |
| typedef struct VkMetalSurfaceCreateInfoEXT { |
| VkMetalSurfaceCreateFlagsEXT flags; |
| const CAMetalLayer* pLayer; |
| } VkMetalSurfaceCreateInfoEXT; |
| typedef VkResult (VKAPI_PTR *PFN_vkCreateMetalSurfaceEXT)(VkInstance instance, const VkMetalSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface); |
| VKAPI_ATTR VkResult VKAPI_CALL vkCreateMetalSurfaceEXT( |
| const VkMetalSurfaceCreateInfoEXT* pCreateInfo, |
| const VkAllocationCallbacks* pAllocator, |