ImGui
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user