End Imgui frame.
243 {
245
246 const ImGuiIO& io = ImGui::GetIO();
247
248 ImGui::Render();
249
251 ImGui_ImplVulkan_RenderDrawData(ImGui::GetDrawData(), cmdBuffer);
252 });
253
254 if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
255 {
256 ImGui::UpdatePlatformWindows();
257 ImGui::RenderPlatformWindowsDefault();
258 }
259 }
#define SPICES_PROFILE_ZONE
std::future< VkCommandBuffer > SubmitCmdsParallel(VkCommandBuffer primaryCmdBuffer, uint32_t subPass, F &&func)
Submit a group of commands to secondary command buffer, and execute all of them.
VulkanState & m_VulkanState
This variable is passed while renderer instanced.
std::array< VkCommandBuffer, MaxFrameInFlight > m_GraphicCommandBuffer