HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vulkan_metal.h File Reference

Go to the source code of this file.

Classes

struct  VkMetalSurfaceCreateInfoEXT
 
struct  VkExportMetalObjectCreateInfoEXT
 
struct  VkExportMetalObjectsInfoEXT
 
struct  VkExportMetalDeviceInfoEXT
 
struct  VkExportMetalCommandQueueInfoEXT
 
struct  VkExportMetalBufferInfoEXT
 
struct  VkImportMetalBufferInfoEXT
 
struct  VkExportMetalTextureInfoEXT
 
struct  VkImportMetalTextureInfoEXT
 
struct  VkExportMetalIOSurfaceInfoEXT
 
struct  VkImportMetalIOSurfaceInfoEXT
 
struct  VkExportMetalSharedEventInfoEXT
 
struct  VkImportMetalSharedEventInfoEXT
 

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"
 
#define VK_EXT_metal_objects   1
 
#define VK_EXT_METAL_OBJECTS_SPEC_VERSION   1
 
#define VK_EXT_METAL_OBJECTS_EXTENSION_NAME   "VK_EXT_metal_objects"
 

Typedefs

typedef void CAMetalLayer
 
typedef VkFlags VkMetalSurfaceCreateFlagsEXT
 
typedef struct
VkMetalSurfaceCreateInfoEXT 
VkMetalSurfaceCreateInfoEXT
 
typedef VkResult(VKAPI_PTRPFN_vkCreateMetalSurfaceEXT )(VkInstance instance, const VkMetalSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
 
typedef voidMTLDevice_id
 
typedef voidMTLCommandQueue_id
 
typedef voidMTLBuffer_id
 
typedef voidMTLTexture_id
 
typedef struct __IOSurface * IOSurfaceRef
 
typedef voidMTLSharedEvent_id
 
typedef enum
VkExportMetalObjectTypeFlagBitsEXT 
VkExportMetalObjectTypeFlagBitsEXT
 
typedef VkFlags VkExportMetalObjectTypeFlagsEXT
 
typedef struct
VkExportMetalObjectCreateInfoEXT 
VkExportMetalObjectCreateInfoEXT
 
typedef struct
VkExportMetalObjectsInfoEXT 
VkExportMetalObjectsInfoEXT
 
typedef struct
VkExportMetalDeviceInfoEXT 
VkExportMetalDeviceInfoEXT
 
typedef struct
VkExportMetalCommandQueueInfoEXT 
VkExportMetalCommandQueueInfoEXT
 
typedef struct
VkExportMetalBufferInfoEXT 
VkExportMetalBufferInfoEXT
 
typedef struct
VkImportMetalBufferInfoEXT 
VkImportMetalBufferInfoEXT
 
typedef struct
VkExportMetalTextureInfoEXT 
VkExportMetalTextureInfoEXT
 
typedef struct
VkImportMetalTextureInfoEXT 
VkImportMetalTextureInfoEXT
 
typedef struct
VkExportMetalIOSurfaceInfoEXT 
VkExportMetalIOSurfaceInfoEXT
 
typedef struct
VkImportMetalIOSurfaceInfoEXT 
VkImportMetalIOSurfaceInfoEXT
 
typedef struct
VkExportMetalSharedEventInfoEXT 
VkExportMetalSharedEventInfoEXT
 
typedef struct
VkImportMetalSharedEventInfoEXT 
VkImportMetalSharedEventInfoEXT
 
typedef void(VKAPI_PTRPFN_vkExportMetalObjectsEXT )(VkDevice device, VkExportMetalObjectsInfoEXT *pMetalObjectsInfo)
 

Enumerations

enum  VkExportMetalObjectTypeFlagBitsEXT {
  VK_EXPORT_METAL_OBJECT_TYPE_METAL_DEVICE_BIT_EXT = 0x00000001, VK_EXPORT_METAL_OBJECT_TYPE_METAL_COMMAND_QUEUE_BIT_EXT = 0x00000002, VK_EXPORT_METAL_OBJECT_TYPE_METAL_BUFFER_BIT_EXT = 0x00000004, VK_EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXT = 0x00000008,
  VK_EXPORT_METAL_OBJECT_TYPE_METAL_IOSURFACE_BIT_EXT = 0x00000010, VK_EXPORT_METAL_OBJECT_TYPE_METAL_SHARED_EVENT_BIT_EXT = 0x00000020, VK_EXPORT_METAL_OBJECT_TYPE_FLAG_BITS_MAX_ENUM_EXT = 0x7FFFFFFF
}
 

Functions

VKAPI_ATTR VkResult VKAPI_CALL vkCreateMetalSurfaceEXT (VkInstance instance, const VkMetalSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
 
VKAPI_ATTR void VKAPI_CALL vkExportMetalObjectsEXT (VkDevice device, VkExportMetalObjectsInfoEXT *pMetalObjectsInfo)
 

Macro Definition Documentation

#define VK_EXT_metal_objects   1

Definition at line 50 of file vulkan_metal.h.

#define VK_EXT_METAL_OBJECTS_EXTENSION_NAME   "VK_EXT_metal_objects"

Definition at line 88 of file vulkan_metal.h.

#define VK_EXT_METAL_OBJECTS_SPEC_VERSION   1

Definition at line 87 of file vulkan_metal.h.

#define VK_EXT_metal_surface   1

Definition at line 22 of file vulkan_metal.h.

#define VK_EXT_METAL_SURFACE_EXTENSION_NAME   "VK_EXT_metal_surface"

Definition at line 30 of file vulkan_metal.h.

#define VK_EXT_METAL_SURFACE_SPEC_VERSION   1

Definition at line 29 of file vulkan_metal.h.

Typedef Documentation

typedef void CAMetalLayer

Definition at line 26 of file vulkan_metal.h.

typedef struct __IOSurface* IOSurfaceRef

Definition at line 79 of file vulkan_metal.h.

typedef void* MTLBuffer_id

Definition at line 69 of file vulkan_metal.h.

Definition at line 62 of file vulkan_metal.h.

typedef void* MTLDevice_id

Definition at line 55 of file vulkan_metal.h.

Definition at line 84 of file vulkan_metal.h.

typedef void* MTLTexture_id

Definition at line 76 of file vulkan_metal.h.

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

Definition at line 39 of file vulkan_metal.h.

typedef void(VKAPI_PTR * PFN_vkExportMetalObjectsEXT)(VkDevice device, VkExportMetalObjectsInfoEXT *pMetalObjectsInfo)

Definition at line 181 of file vulkan_metal.h.

Definition at line 99 of file vulkan_metal.h.

Definition at line 31 of file vulkan_metal.h.

Enumeration Type Documentation

Enumerator
VK_EXPORT_METAL_OBJECT_TYPE_METAL_DEVICE_BIT_EXT 
VK_EXPORT_METAL_OBJECT_TYPE_METAL_COMMAND_QUEUE_BIT_EXT 
VK_EXPORT_METAL_OBJECT_TYPE_METAL_BUFFER_BIT_EXT 
VK_EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXT 
VK_EXPORT_METAL_OBJECT_TYPE_METAL_IOSURFACE_BIT_EXT 
VK_EXPORT_METAL_OBJECT_TYPE_METAL_SHARED_EVENT_BIT_EXT 
VK_EXPORT_METAL_OBJECT_TYPE_FLAG_BITS_MAX_ENUM_EXT 

Definition at line 90 of file vulkan_metal.h.

Function Documentation

VKAPI_ATTR VkResult VKAPI_CALL vkCreateMetalSurfaceEXT ( VkInstance  instance,
const VkMetalSurfaceCreateInfoEXT pCreateInfo,
const VkAllocationCallbacks pAllocator,
VkSurfaceKHR *  pSurface 
)
VKAPI_ATTR void VKAPI_CALL vkExportMetalObjectsEXT ( VkDevice  device,
VkExportMetalObjectsInfoEXT pMetalObjectsInfo 
)