Chira Engine
A customizable MIT-licensed game engine.
chira::ResourceUsageTrackerPanel Class Reference
Inheritance diagram for chira::ResourceUsageTrackerPanel:
Collaboration diagram for chira::ResourceUsageTrackerPanel:

Public Member Functions

 ResourceUsageTrackerPanel (ImVec2 windowSize=ImVec2{800, 600})
 
void renderContents () override
 
- Public Member Functions inherited from chira::IPanel
 IPanel (std::string title_, bool startVisible, ImVec2 windowSize={}, bool enforceSize=false)
 
void render ()
 
virtual void preRenderContents ()
 
virtual void postRenderContents ()
 
std::string_view getTitle () const
 
void setTitle (const std::string &newTitle)
 
bool isVisible () const
 
void setVisible (bool visible_)
 
bool wasActivatedThisFrame () const
 
glm::vec2 getWindowSize () const
 
void setWindowSize (glm::vec2 size)
 
ImGuiWindowFlags & getWindowFlags ()
 

Additional Inherited Members

- Protected Attributes inherited from chira::IPanel
std::string title
 
bool visible
 
bool activatedThisFrame
 
ImVec2 nextWindowSize
 
ImGuiCond_ windowSizeCondition
 
ImGuiWindowFlags flags
 

Detailed Description

Definition at line 7 of file ResourceUsageTrackerPanel.h.


The documentation for this class was generated from the following files: