34 lines
664 B
C++
34 lines
664 B
C++
#ifndef HYDRAENDGUIFRAMETASK
|
|||
|
|
#define HYDRAENDGUIFRAMETASK
|
||
|
|
#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 HydraEndGUIFrameTask : public HydraTask
|
||
|
|
{
|
||
|
|
private:
|
||
|
|
|
||
|
|
|
||
|
|
protected:
|
||
|
|
public:
|
||
|
|
void Process() override
|
||
|
|
{
|
||
|
|
ImGui::Render();
|
||
|
|
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
|
||
|
|
ImGui::EndFrame();
|
||
|
|
}
|
||
|
|
void Initialise()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
#endif /* HYDRAENDGUIFRAMETASK */
|