Extract editor-owned scene viewport pass specs

This commit is contained in:
2026-04-04 16:29:06 +08:00
parent 1a236b866d
commit 9f8ab921bc
8 changed files with 87 additions and 24 deletions

View File

@@ -644,7 +644,7 @@ private:
outState.overlay,
selectedObjectIds,
editorOverlayFrameData,
[this](const Rendering::Passes::InfiniteGridPassData& data) {
[this](const SceneViewportGridPassData& data) {
return CreateSceneViewportGridPass(
m_sceneViewportGridRenderer,
data);
@@ -652,7 +652,7 @@ private:
[this](
RHI::RHIResourceView* objectIdTextureView,
const std::vector<uint64_t>& selectedObjectIds,
const Rendering::Passes::ObjectIdOutlineStyle& style) {
const SceneViewportSelectionOutlineStyle& style) {
return CreateSceneViewportSelectionOutlinePass(
m_sceneViewportSelectionOutlineRenderer,
objectIdTextureView,