CG-Project2
Loading...
Searching...
No Matches
ogl::ImGuiManager Class Reference
Inheritance diagram for ogl::ImGuiManager:
Collaboration diagram for ogl::ImGuiManager:

Public Member Functions

 ImGuiManager (const std::string &layerName, Window *window, const ImGuiConfigFlags &flags=0)
 ImGuiManager (Window *window, const ImGuiConfigFlags &flags)
template<typename T, typename... Args>
Shared< T > addPanel (Args &&...args)
template<typename T>
bool removePanel (const Shared< ImGuiPanel > &panel)
void addPanel (const Shared< ImGuiPanel > &panel)
std::vector< Shared< ImGuiPanel > > getPanels (const unsigned short &priority)
virtual void onAttach () override
virtual void onDetach () override
virtual void onUpdate () override
virtual void onRender () override
virtual void begin () override
virtual void end () override
Public Member Functions inherited from ogl::Layer
 Layer (const std::string &name)
 Layer (const Layer &other)=delete
std::string getName () const
bool isAttached () const

Additional Inherited Members

Protected Attributes inherited from ogl::Layer
std::string m_name {"Layer"}
bool m_attached = false

Member Function Documentation

◆ begin()

void ogl::ImGuiManager::begin ( )
overridevirtual

Reimplemented from ogl::Layer.

◆ end()

void ogl::ImGuiManager::end ( )
overridevirtual

Reimplemented from ogl::Layer.

◆ onAttach()

void ogl::ImGuiManager::onAttach ( )
overridevirtual

Reimplemented from ogl::Layer.

◆ onDetach()

void ogl::ImGuiManager::onDetach ( )
overridevirtual

Reimplemented from ogl::Layer.

◆ onRender()

void ogl::ImGuiManager::onRender ( )
overridevirtual

Reimplemented from ogl::Layer.

◆ onUpdate()

void ogl::ImGuiManager::onUpdate ( )
overridevirtual

Reimplemented from ogl::Layer.


The documentation for this class was generated from the following files:
  • Opengl-Core/include/Core/ImGui.hpp
  • Opengl-Core/src/Core/ImGuiManager.cpp