Refactor editor host resource boundary
This commit is contained in:
@@ -42,6 +42,12 @@ class ViewportRenderHost;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Rendering::Host
|
||||
|
||||
namespace XCEngine::UI::Editor::Host {
|
||||
|
||||
class EditorHostResourceService;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Host
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
class EditorContext;
|
||||
@@ -59,6 +65,7 @@ struct EditorWindowContentInitializationContext {
|
||||
const std::filesystem::path& repoRoot;
|
||||
EditorContext& editorContext;
|
||||
Rendering::Host::UiTextureHost& textureHost;
|
||||
Host::EditorHostResourceService& resourceService;
|
||||
UIEditorTextMeasurer& textMeasurer;
|
||||
Rendering::Host::ViewportRenderHost& viewportRenderer;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user