Structures
VkMetalSurfaceCreateInfoEXT
Structure specifying parameters of a newly created Metal surface object
The VkMetalSurfaceCreateInfoEXT structure is defined as:
typedef struct VkMetalSurfaceCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkMetalSurfaceCreateFlagsEXT flags;
const CAMetalLayer* pLayer;
} VkMetalSurfaceCreateInfoEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.flags
is reserved for future use.pLayer
is a reference to a CAMetalLayer object representing a renderable surface.
Valid Usage (Implicit)
VUID-VkMetalSurfaceCreateInfoEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT
VUID-VkMetalSurfaceCreateInfoEXT-pNext-pNext
pNext
must be NULL
VUID-VkMetalSurfaceCreateInfoEXT-flags-zerobitmask
flags
must be 0