From 901a45449b692a16c87e4dd3eb85b4a79afddfde Mon Sep 17 00:00:00 2001 From: Kim Christensen Date: Fri, 30 Mar 2018 23:27:25 +0200 Subject: [PATCH] Implement destroy buffer view --- ash/src/device.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ash/src/device.rs b/ash/src/device.rs index bc748f0..4b3857e 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -1204,6 +1204,18 @@ pub trait DeviceV1_0 { } } + unsafe fn destroy_buffer_view( + &self, + buffer_view: vk::BufferView, + allocation_callbacks: Option<&vk::AllocationCallbacks>, + ) { + self.fp_v1_0().destroy_buffer_view( + self.handle(), + buffer_view, + allocation_callbacks.as_raw_ptr(), + ); + } + unsafe fn create_image_view( &self, create_info: &vk::ImageViewCreateInfo,