准备定义PrimitiveComponent用于取代原本SceneNode中的Renderable数据

This commit is contained in:
2025-03-25 02:19:32 +08:00
parent ab3f771455
commit f0512edb5a
4 changed files with 38 additions and 15 deletions

View File

@@ -4,8 +4,12 @@
#include<hgl/type/SortedSet.h>
#include<hgl/type/List.h>
namespace hgl::graph
{
#define COMPONENT_NAMESPACE hgl::graph
#define COMPONENT_NAMESPACE_BEGIN namespace COMPONENT_NAMESPACE {
#define COMPONENT_NAMESPACE_END }
COMPONENT_NAMESPACE_BEGIN
class ComponentManager;
class SceneNode;
@@ -81,4 +85,5 @@ namespace hgl::graph
virtual void OnFocusLost(){} ///<焦点丢失事件
virtual void OnFocusGained(){} ///<焦点获得事件
};//class ComponentManager
}//namespace hgl::graph
COMPONENT_NAMESPACE_END