createHeadlessSurfaceEXT :: MonadIO io=> Instanceinstanceis the instance to associate the surface with.-> HeadlessSurfaceCreateInfoEXTpCreateInfois a pointer to a HeadlessSurfaceCreateInfoEXT 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
vkCreateHeadlessSurfaceEXT - Create a headless SurfaceKHR object
Valid Usage (Implicit)
instancemust be a valid Instance handle
pCreateInfomust be a valid pointer to a valid HeadlessSurfaceCreateInfoEXT 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_EXT_headless_surface, AllocationCallbacks, HeadlessSurfaceCreateInfoEXT, Instance, SurfaceKHR