pub unsafe fn destroy_buffer(
allocator: &mut Allocator<'_>,
buffer: Buffer,
allocation: &mut Allocation,
) -> Result<(), AllocError>Expand description
Destroy a checked managed resource pair in buffer-before-memory order.
ยงSafety
Complete all host/GPU uses. Neither object may have been externally destroyed.