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

@@ -1,36 +0,0 @@
#pragma once
#include "Core/ProductEditorSession.h"
#include <XCEditor/Foundation/UIEditorCommandDispatcher.h>
#include <functional>
#include <string_view>
namespace XCEngine::UI::Editor::App {
class ProductEditorHostCommandBridge : public UIEditorHostCommandHandler {
public:
void BindSession(ProductEditorSession& session);
void SetExitRequestHandler(std::function<void()> handler);
UIEditorHostCommandEvaluationResult EvaluateHostCommand(
std::string_view commandId) const override;
UIEditorHostCommandDispatchResult DispatchHostCommand(
std::string_view commandId) override;
private:
UIEditorHostCommandEvaluationResult BuildDisabledResult(
std::string_view message) const;
UIEditorHostCommandEvaluationResult EvaluateEditCommand(
std::string_view commandId) const;
UIEditorHostCommandDispatchResult DispatchEditCommand(
std::string_view commandId);
bool SupportsHierarchyEditCommands(std::string_view commandId) const;
bool SupportsProjectEditCommands(std::string_view commandId) const;
ProductEditorSession* m_session = nullptr;
std::function<void()> m_requestExit = {};
};
} // namespace XCEngine::UI::Editor::App