// // HierarchyPanel:实体列表面板。 // // 点击选中(写 Editor 的选中状态)、工具栏创建实体、右键删除 //(延迟销毁,帧尾 flush,遍历安全)。每项尾缀显示组件构成徽标。 // #ifndef HELLOVULKAN_HIERARCHYPANEL_H #define HELLOVULKAN_HIERARCHYPANEL_H #include "EditorContext.h" #include class HierarchyPanel { public: void Draw(const EditorContext& ctx, entt::entity& selected); }; #endif //HELLOVULKAN_HIERARCHYPANEL_H