![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
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 |
EntitiesPanel - ImGui panel for entity list Shows all runtime entities from the World ECS.
Definition at line 18 of file EntitiesPanel.h.
| Olympe::EntitiesPanel::EntitiesPanel | ( | ) |
Definition at line 13 of file EntitiesPanel.cpp.
References m_FilterBuffer.
| Olympe::EntitiesPanel::~EntitiesPanel | ( | ) |
Definition at line 18 of file EntitiesPanel.cpp.
| 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:| void Olympe::EntitiesPanel::Render | ( | ) |
Definition at line 32 of file EntitiesPanel.cpp.
References Olympe::EntityInspectorManager::Get(), GetComponentTypeID_Static(), Olympe::EntityInspectorManager::GetEntityCount(), m_FilterBuffer, and RenderEntityList().
Here is the call graph for this function:
|
private |
Definition at line 83 of file EntitiesPanel.cpp.
References Olympe::BlueprintEditor::Get(), Olympe::EntityInspectorManager::Get(), GetComponentTypeID_Static(), Olympe::EntityInspectorManager::GetEntityComponents(), Olympe::BlueprintEditor::GetSelectedEntity(), and Olympe::BlueprintEditor::SetSelectedEntity().
Referenced by RenderEntityList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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:| 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:
|
private |
Definition at line 34 of file EntitiesPanel.h.
|
private |
Definition at line 33 of file EntitiesPanel.h.
Referenced by EntitiesPanel(), Render(), and RenderEntityList().