Update editor viewport rendering integration
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "Viewport/SceneViewportResourcePaths.h"
|
||||
#include "ViewportRenderHost.h"
|
||||
|
||||
#include <XCEditor/Foundation/UIEditorRuntimeTrace.h>
|
||||
#include <XCEngine/RHI/RHICommandList.h>
|
||||
|
||||
#include <utility>
|
||||
@@ -330,6 +331,9 @@ void ViewportHostService::ApplyViewportFallback(
|
||||
const ::XCEngine::Rendering::RenderContext& renderContext,
|
||||
const ViewportRenderResult& renderResult) {
|
||||
entry.statusText = renderResult.statusText;
|
||||
::XCEngine::UI::Editor::AppendUIEditorRuntimeTrace(
|
||||
"viewport",
|
||||
"fallback clear: " + entry.statusText);
|
||||
entry.renderTargets.hasValidObjectIdFrame = false;
|
||||
entry.renderTargets.objectIdFrameSerial = 0u;
|
||||
ClearViewport(
|
||||
|
||||
Reference in New Issue
Block a user