Decouple editor render runtime factory
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <filesystem>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
namespace XCEngine::UI::Editor::Rendering::Host {
|
||||
@@ -68,4 +69,11 @@ public:
|
||||
const std::filesystem::path* captureOutputPath) = 0;
|
||||
};
|
||||
|
||||
class EditorWindowRenderRuntimeFactory {
|
||||
public:
|
||||
virtual ~EditorWindowRenderRuntimeFactory() = default;
|
||||
|
||||
virtual std::unique_ptr<EditorWindowRenderRuntime> CreateWindowRenderRuntime() = 0;
|
||||
};
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Rendering::Host
|
||||
|
||||
Reference in New Issue
Block a user