Decouple editor render runtime factory
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "Rendering/D3D12/D3D12EditorWindowRenderRuntime.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
@@ -18,6 +19,11 @@ using Rendering::Host::EditorWindowRenderRuntimeSurface;
|
||||
|
||||
D3D12EditorWindowRenderRuntime::~D3D12EditorWindowRenderRuntime() = default;
|
||||
|
||||
std::unique_ptr<Rendering::Host::EditorWindowRenderRuntime>
|
||||
D3D12EditorWindowRenderRuntimeFactory::CreateWindowRenderRuntime() {
|
||||
return std::make_unique<D3D12EditorWindowRenderRuntime>();
|
||||
}
|
||||
|
||||
bool D3D12EditorWindowRenderRuntime::IsReady() const {
|
||||
return m_ready;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user