createFence :: (Extendss FenceCreateInfo a, PokeChain a, MonadIO io)=> Devicedeviceis the logical device that creates the fence.-> FenceCreateInfo apCreateInfois a pointer to a FenceCreateInfo structure containing information about how the fence is to be created.->"allocator"
::: Maybe AllocationCallbackspAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.-> io Fence
vkCreateFence - Create a new fence object
Valid Usage (Implicit)
devicemust be a valid Device handle
pCreateInfomust be a valid pointer to a valid FenceCreateInfo structureIf
pAllocatoris notNULL,pAllocatormust be a valid pointer to a valid AllocationCallbacks structurepFencemust be a valid pointer to a Fence handleThe device must have been created with at least
1queue
Return Codes
See Also
VK_VERSION_1_0, AllocationCallbacks, Device, Fence, FenceCreateInfo