Skip to main content

destroy_event

Function destroy_event 

Source
pub unsafe fn destroy_event(
    device: VkHandleRef<'_, VkDevice>,
    event: VkHandleRefMut<'_, VkEvent>,
    allocation_callbacks: Option<&VkAllocationCallbacks>,
)
Expand description

ยงSafety

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