// // LogPanel:运行时日志面板(环形缓冲渲染,级别着色 + 过滤)。 // #ifndef HELLOVULKAN_LOGPANEL_H #define HELLOVULKAN_LOGPANEL_H #include #include "EditorContext.h" class LogPanel { public: void Draw(const EditorContext& ctx); private: bool m_ShowTrace = false; bool m_ShowInfo = true; bool m_ShowWarn = true; bool m_ShowError = true; bool m_AutoScroll = true; char m_Filter[128] = ""; Engine::u64 m_LastVersion = 0; }; #endif //HELLOVULKAN_LOGPANEL_H