![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <AssetInfoPanel.h>
Collaboration diagram for Olympe::AssetInfoPanel:Public Member Functions | |
| AssetInfoPanel () | |
| ~AssetInfoPanel () | |
| void | LoadAsset (const std::string &filepath) |
| void | Clear () |
| void | Render () |
| bool | HasAsset () const |
| const AssetMetadata & | GetAssetInfo () const |
| const std::string & | GetLoadedFilepath () const |
Private Member Functions | |
| void | RenderEntityBlueprintInfo () |
| void | RenderBehaviorTreeInfo () |
| void | RenderGenericInfo () |
| void | RenderErrorInfo () |
Private Attributes | |
| AssetMetadata * | m_CurrentAsset |
| std::string | m_LoadedFilepath |
Definition at line 17 of file AssetInfoPanel.h.
| Olympe::AssetInfoPanel::AssetInfoPanel | ( | ) |
Definition at line 13 of file AssetInfoPanel.cpp.
| Olympe::AssetInfoPanel::~AssetInfoPanel | ( | ) |
Definition at line 18 of file AssetInfoPanel.cpp.
| void Olympe::AssetInfoPanel::Clear | ( | ) |
Definition at line 37 of file AssetInfoPanel.cpp.
References m_CurrentAsset, and m_LoadedFilepath.
Referenced by LoadAsset().
Here is the caller graph for this function:
|
inline |
Definition at line 36 of file AssetInfoPanel.h.
References m_CurrentAsset.
|
inline |
Definition at line 39 of file AssetInfoPanel.h.
References m_LoadedFilepath.
| bool Olympe::AssetInfoPanel::HasAsset | ( | ) | const |
Definition at line 171 of file AssetInfoPanel.cpp.
References m_CurrentAsset.
Referenced by Render().
Here is the caller graph for this function:Definition at line 23 of file AssetInfoPanel.cpp.
References Clear(), Olympe::BlueprintEditor::Get(), Olympe::BlueprintEditor::GetAssetMetadata(), GetComponentTypeID_Static(), m_CurrentAsset, and m_LoadedFilepath.
Here is the call graph for this function:| void Olympe::AssetInfoPanel::Render | ( | ) |
Definition at line 43 of file AssetInfoPanel.cpp.
References GetComponentTypeID_Static(), HasAsset(), Olympe::AssetMetadata::isValid, m_CurrentAsset, RenderBehaviorTreeInfo(), RenderEntityBlueprintInfo(), RenderErrorInfo(), RenderGenericInfo(), and Olympe::AssetMetadata::type.
Here is the call graph for this function:
|
private |
Definition at line 108 of file AssetInfoPanel.cpp.
References Olympe::AssetMetadata::description, Olympe::AssetMetadata::filepath, GetComponentTypeID_Static(), m_CurrentAsset, Olympe::AssetMetadata::name, Olympe::AssetMetadata::nodeCount, and Olympe::AssetMetadata::nodes.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 76 of file AssetInfoPanel.cpp.
References Olympe::AssetMetadata::componentCount, Olympe::AssetMetadata::components, Olympe::AssetMetadata::description, Olympe::AssetMetadata::filepath, GetComponentTypeID_Static(), m_CurrentAsset, and Olympe::AssetMetadata::name.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 157 of file AssetInfoPanel.cpp.
References Olympe::AssetMetadata::errorMessage, Olympe::AssetMetadata::filepath, GetComponentTypeID_Static(), and m_CurrentAsset.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 139 of file AssetInfoPanel.cpp.
References Olympe::AssetMetadata::description, Olympe::AssetMetadata::filepath, GetComponentTypeID_Static(), m_CurrentAsset, Olympe::AssetMetadata::name, and Olympe::AssetMetadata::type.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 49 of file AssetInfoPanel.h.
Referenced by Clear(), GetAssetInfo(), HasAsset(), LoadAsset(), Render(), RenderBehaviorTreeInfo(), RenderEntityBlueprintInfo(), RenderErrorInfo(), and RenderGenericInfo().
|
private |
Definition at line 50 of file AssetInfoPanel.h.
Referenced by Clear(), GetLoadedFilepath(), and LoadAsset().