Split render-graph main scene into forward segments

This commit is contained in:
2026-04-14 16:31:32 +08:00
parent 0060a348f6
commit a91df8b4cd
4 changed files with 246 additions and 26 deletions

View File

@@ -331,7 +331,18 @@ private:
bool ExecuteForwardSceneFrame(
const FrameExecutionContext& executionContext,
bool manageMainDirectionalShadowTransitions);
bool BeginForwardScenePass(const RenderPassContext& context);
bool ExecuteForwardSceneSteps(
const FrameExecutionContext& executionContext,
size_t beginStepIndex,
size_t endStepIndex);
bool ExecuteForwardSceneSegmentPass(
const FrameExecutionContext& executionContext,
size_t beginStepIndex,
size_t endStepIndex,
bool clearAttachments);
bool BeginForwardScenePass(
const RenderPassContext& context,
bool clearAttachments = true);
void EndForwardScenePass(const RenderPassContext& context);
bool ExecuteForwardOpaquePass(const ScenePhaseExecutionContext& context);
bool ExecuteForwardSkyboxPass(const RenderPassContext& context);