src/core/VulkanDevice.cpp
void VulkanDevice::copyVkBuffer(VkBuffer *src, VkBuffer *dst, VkBufferCopy *copyRegion) {

    VkCommandBuffer copyCmd = createCommandBuffer(VK_COMMAND_BUFFER_LEVEL_PRIMARY, true);
    vkCmdCopyBuffer(copyCmd, *src, *dst, 1, copyRegion);
    flushCommandBuffer(copyCmd, transferQueue, true);

}
/**
 * @brief Function to copy data between VkBuffer
 * @param src Buffer source to copy from
 * @param dst Buffer to copy to
 * @param copyRegion How much buffer to copy
 */
@brief Function to copy data between VkBuffer
@param src Buffer source to copy from
@param dst Buffer to copy to
@param copyRegion How much buffer to copy
@brief Function to copy data between VkBuffer @param src Buffer source to copy from @param dst Buffer to copy to @param copyRegion How much buffer to copy
void VulkanDevice::copyVkBuffer(VkBuffer *src, VkBuffer *dst, VkBufferCopy *copyRegion) {
    VkCommandBuffer copyCmd = createCommandBuffer(VK_COMMAND_BUFFER_LEVEL_PRIMARY, true);
    vkCmdCopyBuffer(copyCmd, *src, *dst, 1, copyRegion);
    flushCommandBuffer(copyCmd, transferQueue, true);
}
void VulkanDevice :: copyVkBuffer ( VkBuffer * src , VkBuffer * dst , VkBufferCopy * copyRegion ) { VkCommandBuffer copyCmd = createCommandBuffer ( VK_COMMAND_BUFFER_LEVEL_PRIMARY , true ) ; vkCmdCopyBuffer ( copyCmd , * src , * dst , 1 , copyRegion ) ; flushCommandBuffer ( copyCmd , transferQueue , true ) ; }
@brief Function to copy data between VkBuffer
 @param src Buffer source to copy from
 @param dst Buffer to copy to
 @param copyRegion How much buffer to copy
@brief Function to copy data between VkBuffer @param src Buffer source to copy from @param dst Buffer to copy to @param copyRegion How much buffer to copy