36 lines
696 B
C++
36 lines
696 B
C++
#ifndef HYDRASHUTDOWNGUITASK
|
|
#define HYDRASHUTDOWNGUITASK
|
|
|
|
#include "../HydraTask.h"
|
|
#include "../../engine/HydraEngine.h"
|
|
#include "../../renderer/HydraRenderer.h"
|
|
#include "../../windowmanager/HydraWindowManager.h"
|
|
#include "../../GlewIncludes.h"
|
|
#include <GLMIncludes.h>
|
|
#include <imgui.h>
|
|
#include <imgui_impl_glfw.h>
|
|
#include <imgui_impl_opengl3.h>
|
|
|
|
class HydraShutdownGUITask : public HydraTask
|
|
{
|
|
private:
|
|
|
|
|
|
protected:
|
|
public:
|
|
void Process() override
|
|
{
|
|
// Setup Dear ImGui context
|
|
ImGui_ImplOpenGL3_Shutdown();
|
|
ImGui_ImplGlfw_Shutdown();
|
|
ImGui::DestroyContext();
|
|
}
|
|
void Initialise()
|
|
{
|
|
|
|
}
|
|
};
|
|
|
|
|
|
#endif /* HYDRASHUTDOWNGUITASK */
|