refactor(new_editor): tighten app dependency boundaries
This commit is contained in:
14
new_editor/app/Host/ViewportRenderHost.h
Normal file
14
new_editor/app/Host/ViewportRenderHost.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <XCEngine/RHI/RHIDevice.h>
|
||||
|
||||
namespace XCEngine::UI::Editor::Host {
|
||||
|
||||
class ViewportRenderHost {
|
||||
public:
|
||||
virtual ~ViewportRenderHost() = default;
|
||||
|
||||
[[nodiscard]] virtual ::XCEngine::RHI::RHIDevice* GetRHIDevice() const = 0;
|
||||
};
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Host
|
||||
Reference in New Issue
Block a user