Fixes and improvements to the graphics module

This commit is contained in:
IlyaShurupov 2024-07-17 09:40:49 +03:00
parent 2fb319840c
commit e3757770c8
19 changed files with 161 additions and 55 deletions

View file

@ -11,7 +11,7 @@ class ExampleApplication : public Application {
public:
ExampleApplication() = default;
void processFrame(EventHandler* eventHandler) override {
void processFrame(EventHandler* eventHandler, halnf) override {
// example
}
@ -20,10 +20,11 @@ public:
ImGui::ShowDemoWindow();
ImGui::Text("Frames processed per second: %f", this->mFramesProcessedPerSecond);
ImGui::Text("Frames drawn per second: %f", this->mFramesDrawnPerSecond);
drawDebug();
}
bool forceNewFrame() override { return false; }
virtual ~ExampleApplication() = default;
};