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