SDL  2.0
vulkan_metal.h File Reference

Go to the source code of this file.

Data Structures

struct  VkMetalSurfaceCreateInfoEXT
 

Macros

#define VK_EXT_metal_surface   1
 
#define VK_EXT_METAL_SURFACE_SPEC_VERSION   1
 
#define VK_EXT_METAL_SURFACE_EXTENSION_NAME   "VK_EXT_metal_surface"
 

Typedefs

typedef void CAMetalLayer
 
typedef VkFlags VkMetalSurfaceCreateFlagsEXT
 
typedef VkResult(VKAPI_PTRPFN_vkCreateMetalSurfaceEXT) (VkInstance instance, const VkMetalSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
 

Functions

VKAPI_ATTR VkResult VKAPI_CALL vkCreateMetalSurfaceEXT (VkInstance instance, const VkMetalSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
 

Macro Definition Documentation

◆ VK_EXT_metal_surface

#define VK_EXT_metal_surface   1

Definition at line 22 of file vulkan_metal.h.

◆ VK_EXT_METAL_SURFACE_EXTENSION_NAME

#define VK_EXT_METAL_SURFACE_EXTENSION_NAME   "VK_EXT_metal_surface"

Definition at line 31 of file vulkan_metal.h.

◆ VK_EXT_METAL_SURFACE_SPEC_VERSION

#define VK_EXT_METAL_SURFACE_SPEC_VERSION   1

Definition at line 30 of file vulkan_metal.h.

Typedef Documentation

◆ CAMetalLayer

typedef void CAMetalLayer

Definition at line 27 of file vulkan_metal.h.

◆ PFN_vkCreateMetalSurfaceEXT

typedef VkResult(VKAPI_PTR * PFN_vkCreateMetalSurfaceEXT) (VkInstance instance, const VkMetalSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)

Definition at line 40 of file vulkan_metal.h.

◆ VkMetalSurfaceCreateFlagsEXT

Definition at line 32 of file vulkan_metal.h.

Function Documentation

◆ vkCreateMetalSurfaceEXT()

VKAPI_ATTR VkResult VKAPI_CALL vkCreateMetalSurfaceEXT ( VkInstance  instance,
const VkMetalSurfaceCreateInfoEXT pCreateInfo,
const VkAllocationCallbacks pAllocator,
VkSurfaceKHR *  pSurface 
)