Skip to main content

destroy_device

Function destroy_device 

Source
pub unsafe fn destroy_device(
    device: Device,
    allocator: Option<&AllocationCallbacks>,
)
Expand description

Destroy once, using callbacks compatible with device creation.

ยงSafety

All children and outstanding device operations must be complete. The allocator must match creation, with its user data and functions still live.

Khronos reference: vkDestroyDevice