pub unsafe fn create_image_view(&self, create_info: &ImageViewCreateInfo,
            allocator: Option<*const vks::VkAllocationCallbacks>) -> VdResult<ImageViewHandle> {
        let allocator = allocator.unwrap_or(ptr::null());
        let mut handle = 0;
        let result = self.proc_addr_loader().vk.vkCreateImageView(self.handle().to_raw(),
            create_info.as_raw(), allocator, &mut handle);
        error::check(result, "vkCreateImageView", ImageViewHandle(handle))
    }
/// Creates an image view from an existing image.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateImageView.html
//
// *PFN_vkCreateImageView)(VkDevice device, const VkImageViewCreateInfo*
// pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView*
// pView);
Creates an image view from an existing image.


Creates an image view from an existing image .
pub unsafe fn create_image_view(&self, create_info: &ImageViewCreateInfo,
            allocator: Option<*const vks::VkAllocationCallbacks>) -> VdResult<ImageViewHandle> {
        let allocator = allocator.unwrap_or(ptr::null());
        let mut handle = 0;
        let result = self.proc_addr_loader().vk.vkCreateImageView(self.handle().to_raw(),
            create_info.as_raw(), allocator, &mut handle);
        error::check(result, "vkCreateImageView", ImageViewHandle(handle))
    }
pub unsafe fn create_image_view ( & self , create_info : & ImageViewCreateInfo , allocator : Option < * const vks :: VkAllocationCallbacks > ) -> VdResult < ImageViewHandle > { let allocator = allocator . unwrap_or ( ptr :: null ( ) ) ; let mut handle = 0 ; let result = self . proc_addr_loader ( ) . vk . vkCreateImageView ( self . handle ( ) . to_raw ( ) , create_info . as_raw ( ) , allocator , & mut handle ) ; error :: check ( result , " " , ImageViewHandle ( handle ) ) }
Creates an image view from an existing image.
Creates an image view from an existing image .
&self
create_info
&ImageViewCreateInfo
allocator
Option<*const vks::VkAllocationCallbacks>
&self
create_info
&ImageViewCreateInfo
allocator
Option<*const vks::VkAllocationCallbacks>