editor: centralize engine runtime access

This commit is contained in:
2026-04-28 17:23:10 +08:00
parent 23aab98a09
commit 357dc136fe
36 changed files with 337 additions and 102 deletions

View File

@@ -51,6 +51,8 @@ class EditorHostResourceService;
namespace XCEngine::UI::Editor::App {
class EditorEngineServices;
struct EditorWindowContentCapabilities {
bool workspace = false;
bool dockHost = false;
@@ -67,6 +69,7 @@ struct EditorWindowContentInitializationContext {
Host::EditorHostResourceService& resourceService;
UIEditorTextMeasurer& textMeasurer;
Rendering::Host::ViewportRenderHost& viewportRenderer;
EditorEngineServices& engineServices;
};
struct EditorWindowContentFrameContext {