Merge pull request #54 from kichristensen/ImplementDestroyBufferView

Implement Device::destroy_buffer_view
This commit is contained in:
Maik Klein 2018-03-30 23:35:04 +02:00 committed by GitHub
commit 348a7beac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,