refactor(rendering): add callback helpers for common graph pass contracts

This commit is contained in:
2026-04-15 12:55:51 +08:00
parent 1d207cf251
commit 8aee665d32
2 changed files with 23 additions and 6 deletions

View File

@@ -57,13 +57,8 @@ bool RecordRenderPipelineMainScenePhasePass(
scenePhase)),
beginPassCallback,
endPassCallback);
return RecordCallbackRasterRenderPass(
return RecordColorDepthCallbackRasterPass(
passContext,
{
false,
true,
context.depthTarget.IsValid()
},
std::move(executePassCallback),
std::move(additionalReadTextures));
}