pub unsafe fn cmd_copy_buffer_to_image(&self, command_buffer: CommandBufferHandle,
            src_buffer: BufferHandle, dst_image: ImageHandle, dst_image_layout: ImageLayout,
            regions: &[BufferImageCopy]) {
        self.proc_addr_loader().vk.vkCmdCopyBufferToImage(
            command_buffer.to_raw(),
            src_buffer.to_raw(),
            dst_image.to_raw(),
            dst_image_layout as u32,
            regions.len() as u32,
            regions.as_ptr() as *const vks::VkBufferImageCopy,
        );
    }
/// Copies data from a buffer into an image.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyBufferToImage.html
//
// *PFN_vkCmdCopyBufferToImage)(VkCommandBuffer commandBuffer, VkBuffer
// srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t
// regionCount, const VkBufferImageCopy* pRegions);
Copies data from a buffer into an image.


Copies data from a buffer into an image .
pub unsafe fn cmd_copy_buffer_to_image(&self, command_buffer: CommandBufferHandle,
            src_buffer: BufferHandle, dst_image: ImageHandle, dst_image_layout: ImageLayout,
            regions: &[BufferImageCopy]) {
        self.proc_addr_loader().vk.vkCmdCopyBufferToImage(
            command_buffer.to_raw(),
            src_buffer.to_raw(),
            dst_image.to_raw(),
            dst_image_layout as u32,
            regions.len() as u32,
            regions.as_ptr() as *const vks::VkBufferImageCopy,
        );
    }
pub unsafe fn cmd_copy_buffer_to_image ( & self , command_buffer : CommandBufferHandle , src_buffer : BufferHandle , dst_image : ImageHandle , dst_image_layout : ImageLayout , regions : & [ BufferImageCopy ] ) { self . proc_addr_loader ( ) . vk . vkCmdCopyBufferToImage ( command_buffer . to_raw ( ) , src_buffer . to_raw ( ) , dst_image . to_raw ( ) , dst_image_layout as u32 , regions . len ( ) as u32 , regions . as_ptr ( ) as * const vks :: VkBufferImageCopy , ) ; }
Copies data from a buffer into an image.
Copies data from a buffer into an image .
&self
command_buffer
CommandBufferHandle
src_buffer
BufferHandle
dst_image
ImageHandle
dst_image_layout
ImageLayout
regions
&[BufferImageCopy]
&self
command_buffer
CommandBufferHandle
src_buffer
BufferHandle
dst_image
ImageHandle
dst_image_layout
ImageLayout
regions
&[BufferImageCopy]