refactor(rendering): generalize pipeline stage render graph boundary
This commit is contained in:
@@ -59,13 +59,15 @@ bool BuiltinForwardPipeline::ShouldSampleMainDirectionalShadowMap(const RenderSc
|
||||
IsDepthFormat(sceneData.lighting.mainDirectionalShadow.shadowMap->GetFormat());
|
||||
}
|
||||
|
||||
bool BuiltinForwardPipeline::SupportsMainSceneRenderGraph() const {
|
||||
return true;
|
||||
bool BuiltinForwardPipeline::SupportsStageRenderGraph(
|
||||
CameraFrameStage stage) const {
|
||||
return SupportsCameraFramePipelineGraphRecording(stage);
|
||||
}
|
||||
|
||||
bool BuiltinForwardPipeline::RecordMainSceneRenderGraph(
|
||||
const RenderPipelineMainSceneRenderGraphContext& context) {
|
||||
return Internal::BuiltinForwardMainSceneGraphBuilder::Record(*this, context);
|
||||
bool BuiltinForwardPipeline::RecordStageRenderGraph(
|
||||
const RenderPipelineStageRenderGraphContext& context) {
|
||||
return context.stage == CameraFrameStage::MainScene &&
|
||||
Internal::BuiltinForwardMainSceneGraphBuilder::Record(*this, context);
|
||||
}
|
||||
|
||||
bool BuiltinForwardPipeline::Render(
|
||||
|
||||
Reference in New Issue
Block a user