Split camera frame render-graph stage recording helpers

This commit is contained in:
2026-04-14 23:33:35 +08:00
parent 39c7ef5fdf
commit 3e5b7287c7
42 changed files with 820 additions and 703 deletions

View File

@@ -0,0 +1,27 @@
#pragma once
#include "Core/ProductEditorSession.h"
#include <XCEditor/Shell/UIEditorPanelContentHost.h>
#include <XCEngine/UI/DrawData.h>
namespace XCEngine::UI::Editor::App {
class ProductConsolePanel {
public:
void Update(
const ProductEditorSession& session,
const UIEditorPanelContentHostFrame& contentHostFrame);
void Append(::XCEngine::UI::UIDrawList& drawList) const;
private:
const UIEditorPanelContentHostPanelState* FindMountedConsolePanel(
const UIEditorPanelContentHostFrame& contentHostFrame) const;
bool m_visible = false;
::XCEngine::UI::UIRect m_bounds = {};
const std::vector<ProductEditorConsoleEntry>* m_entries = nullptr;
};
} // namespace XCEngine::UI::Editor::App