refactor(rendering): centralize stage graph output policies

This commit is contained in:
2026-04-15 16:42:36 +08:00
parent c853f67c56
commit bf0b81d034
5 changed files with 48 additions and 12 deletions

View File

@@ -41,6 +41,10 @@ bool CameraFramePlan::UsesGraphManagedMainSceneColor() const {
}
bool CameraFramePlan::UsesGraphManagedOutputColor(CameraFrameStage stage) const {
if (stage == CameraFrameStage::MainScene) {
return UsesGraphManagedMainSceneColor();
}
if (const CameraFrameFullscreenStagePlan* fullscreenStagePlan =
GetFullscreenStagePlan(stage);
fullscreenStagePlan != nullptr) {