Skip to main content

destroy_semaphore

Function destroy_semaphore 

Source
pub unsafe fn destroy_semaphore(
    device: VkHandleRef<'_, VkDevice>,
    semaphore: VkHandleRefMut<'_, VkSemaphore>,
    allocation_callbacks: Option<&VkAllocationCallbacks>,
)
Expand description

ยงSafety

  • device and semaphore must be a valid device handle and semaphore handle, respectively.
  • semaphore must be created from the device.