Skip to main content

destroy_surface

Function destroy_surface 

Source
pub unsafe fn destroy_surface(
    instance: VkHandleRef<'_, VkInstance>,
    surface: VkHandleRefMut<'_, VkSurfaceKHR>,
    allocation_callbacks: Option<&VkAllocationCallbacks>,
)
Expand description

ยงSafety

surface must be created from instance.