createDirectFBSurfaceEXT :: MonadIO io=> Instanceinstanceis the instance to associate the surface with.-> DirectFBSurfaceCreateInfoEXTpCreateInfois a pointer to a DirectFBSurfaceCreateInfoEXT 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
vkCreateDirectFBSurfaceEXT - Create a SurfaceKHR object for a DirectFB surface
Valid Usage (Implicit)
instancemust be a valid Instance handle
pCreateInfomust be a valid pointer to a valid DirectFBSurfaceCreateInfoEXT 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_directfb_surface, AllocationCallbacks, DirectFBSurfaceCreateInfoEXT, Instance, SurfaceKHR