Decouple editor windowing from D3D12 runtime
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "Platform/Win32/Chrome/EditorWindowChromeController.h"
|
||||
#include "Platform/Win32/Windowing/EditorFloatingWindowPlacement.h"
|
||||
#include "Platform/Win32/Windowing/EditorWindow.h"
|
||||
#include "Rendering/D3D12/D3D12EditorWindowRenderRuntime.h"
|
||||
#include "Windowing/Host/EditorWindowHostCoordinator.h"
|
||||
#include "Windowing/Runtime/EditorWindowRuntimeController.h"
|
||||
|
||||
@@ -61,6 +62,11 @@ EditorWindowHostRuntime::EditorWindowHostRuntime(
|
||||
|
||||
EditorWindowHostRuntime::~EditorWindowHostRuntime() = default;
|
||||
|
||||
std::unique_ptr<Rendering::Host::EditorWindowRenderRuntime>
|
||||
EditorWindowHostRuntime::CreateWindowRenderRuntime() {
|
||||
return std::make_unique<Host::D3D12EditorWindowRenderRuntime>();
|
||||
}
|
||||
|
||||
EditorWindow* EditorWindowHostRuntime::CreateHostWindow(
|
||||
std::unique_ptr<EditorWindowRuntimeController> runtimeController,
|
||||
const EditorWindowCreateParams& params) {
|
||||
|
||||
Reference in New Issue
Block a user