refactor(rendering): centralize stage graph output policies
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user