CoriEngine
Loading...
Searching...
No Matches
ImGuiLayer.hpp
Go to the documentation of this file.
1#pragma once
2#include "Core/Layer.hpp"
3
4namespace Cori {
5 namespace Core {
6 namespace Internal {
7 class ImGuiLayer final : public Layer {
8 public:
10 ~ImGuiLayer() override;
11 void OnAttach() override;
12 void OnDetach() override;
13 void OnEvent(Event& event) override;
14
15 void StartFrame();
16 void EndFrame();
17 };
18 }
19 }
20}
An abstract class that is ment to be used as a template for defining events.
Definition Event.hpp:18
void OnEvent(Event &event) override
This is the method to handle all the event at.
void OnAttach() override
Method that runs when the layer gets attached to the LayerStack.
void OnDetach() override
Method that runs when the layer gets detached to the LayerStack.
Layer(std::string name)
Definition Layer.cpp:7
Core systems of the engine are here.
Global engine namespace.