Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Olympe::EntitiesPanel Class Reference

EntitiesPanel - ImGui panel for entity list Shows all runtime entities from the World ECS. More...

#include <EntitiesPanel.h>

Public Member Functions

 EntitiesPanel ()
 
 ~EntitiesPanel ()
 
void Initialize ()
 
void Shutdown ()
 
void Render ()
 

Private Member Functions

void RenderEntityList ()
 
void RenderEntityItem (uint64_t entityId, const std::string &entityName)
 

Private Attributes

char m_FilterBuffer [256]
 
std::string m_ComponentFilter
 

Detailed Description

EntitiesPanel - ImGui panel for entity list Shows all runtime entities from the World ECS.

Definition at line 18 of file EntitiesPanel.h.

Constructor & Destructor Documentation

◆ EntitiesPanel()

Olympe::EntitiesPanel::EntitiesPanel ( )

Definition at line 13 of file EntitiesPanel.cpp.

References m_FilterBuffer.

◆ ~EntitiesPanel()

Olympe::EntitiesPanel::~EntitiesPanel ( )

Definition at line 18 of file EntitiesPanel.cpp.

Member Function Documentation

◆ Initialize()

void Olympe::EntitiesPanel::Initialize ( )

Definition at line 22 of file EntitiesPanel.cpp.

Referenced by Olympe::BlueprintEditorGUI::Initialize().

+ Here is the caller graph for this function:

◆ Render()

void Olympe::EntitiesPanel::Render ( )

◆ RenderEntityItem()

void Olympe::EntitiesPanel::RenderEntityItem ( uint64_t  entityId,
const std::string &  entityName 
)
private

◆ RenderEntityList()

void Olympe::EntitiesPanel::RenderEntityList ( )
private

Definition at line 55 of file EntitiesPanel.cpp.

References Olympe::EntityInspectorManager::Get(), Olympe::EntityInspectorManager::GetAllEntityInfo(), GetComponentTypeID_Static(), m_FilterBuffer, and RenderEntityItem().

Referenced by Render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Shutdown()

void Olympe::EntitiesPanel::Shutdown ( )

Definition at line 27 of file EntitiesPanel.cpp.

Referenced by Olympe::BlueprintEditorGUI::Shutdown().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_ComponentFilter

std::string Olympe::EntitiesPanel::m_ComponentFilter
private

Definition at line 34 of file EntitiesPanel.h.

◆ m_FilterBuffer

char Olympe::EntitiesPanel::m_FilterBuffer[256]
private

Definition at line 33 of file EntitiesPanel.h.

Referenced by EntitiesPanel(), Render(), and RenderEntityList().


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