gui updates
This commit is contained in:
parent
a55a5ec5cc
commit
4a557d7e5c
42 changed files with 1179 additions and 962 deletions
|
|
@ -1,5 +1,8 @@
|
|||
|
||||
#include "GraphicApplication.hpp"
|
||||
#include <GL/glew.h>
|
||||
|
||||
|
||||
#include "imgui.h"
|
||||
|
||||
using namespace tp;
|
||||
|
|
@ -13,6 +16,10 @@ public:
|
|||
}
|
||||
|
||||
virtual void drawFrame(Canvas* canvas) override {
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
ImGui::ShowDemoWindow();
|
||||
|
||||
ImGui::Text("Frames processed per second: %f", this->mFramesProcessedPerSecond);
|
||||
ImGui::Text("Frames drawn per second: %f", this->mFramesDrawnPerSecond);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue