Structures

VkIOSSurfaceCreateInfoMVK

Structure specifying parameters of a newly created iOS surface object

The VkIOSSurfaceCreateInfoMVK structure is defined as:

typedef struct VkIOSSurfaceCreateInfoMVK {
    VkStructureType sType;
    const void* pNext;
    VkIOSSurfaceCreateFlagsMVK flags;
    const void* pView;
} VkIOSSurfaceCreateInfoMVK;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • flags is reserved for future use.
  • pView is a reference to either a CAMetalLayer object or a UIView object.

Valid Usage

VUID-VkIOSSurfaceCreateInfoMVK-pView-01316

If pView is a UIView object, it must be a valid UIView, must be backed by a CALayer object of type CAMetalLayer, and vkCreateIOSSurfaceMVK must be called on the main thread

Valid Usage (Implicit)

VUID-VkIOSSurfaceCreateInfoMVK-sType-sType

sType must be VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK