public void CopyBufferToImage(VkBuffer buffer, VkImage image, VkBufferImageCopy copyData) { unsafe { var local = copyData; VkCommandBuffer.vkCmdCopyBufferToImage(Handle, buffer, image, VkImageLayout.TransferDstOptimal, 1, &local); } }