createIOSSurfaceMVK :: MonadIO io=> Instanceinstanceis the instance with which to associate the surface.-> IOSSurfaceCreateInfoMVKpCreateInfois a pointer to a IOSSurfaceCreateInfoMVK structure containing parameters affecting the creation of the surface object.->"allocator"
::: Maybe AllocationCallbackspAllocatoris the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation).-> io SurfaceKHR
vkCreateIOSSurfaceMVK - Create a VkSurfaceKHR object for an iOS UIView
Description
The createIOSSurfaceMVK function is considered legacy and has been
superseded by
createMetalSurfaceEXT from the
VK_EXT_metal_surface extension.
Valid Usage (Implicit)
instancemust be a valid Instance handle
pCreateInfomust be a valid pointer to a valid IOSSurfaceCreateInfoMVK structureIf
pAllocatoris notNULL,pAllocatormust be a valid pointer to a valid AllocationCallbacks structurepSurfacemust be a valid pointer to a SurfaceKHR handle
Return Codes
See Also
VK_MVK_ios_surface, AllocationCallbacks, IOSSurfaceCreateInfoMVK, Instance, SurfaceKHR