Skip to main content

destroy_swapchain

Function destroy_swapchain 

Source
pub unsafe fn destroy_swapchain(
    device: VkHandleRef<'_, VkDevice>,
    swapchain: VkHandleRefMut<'_, VkSwapchainKHR>,
    allocation_callbacks: Option<&VkAllocationCallbacks>,
)
Expand description

ยงSafety

swapchain must be created from device.