Formalize camera frame render-graph blackboard resources
This commit is contained in:
@@ -107,8 +107,12 @@ bool BuiltinForwardPipeline::RecordMainSceneRenderGraph(
|
||||
const RHI::ResourceStates sourceColorState = context.sourceColorState;
|
||||
const std::vector<RenderGraphTextureHandle> colorTargets = context.colorTargets;
|
||||
const RenderGraphTextureHandle depthTarget = context.depthTarget;
|
||||
const CameraFrameRenderGraphResources* const frameResources =
|
||||
TryGetCameraFrameRenderGraphResources(context.blackboard);
|
||||
const RenderGraphTextureHandle mainDirectionalShadowTexture =
|
||||
context.mainDirectionalShadowTexture;
|
||||
frameResources != nullptr
|
||||
? frameResources->mainDirectionalShadow
|
||||
: RenderGraphTextureHandle{};
|
||||
bool* const executionSucceeded = context.executionSucceeded;
|
||||
const std::shared_ptr<ForwardSceneGraphExecutionState> graphExecutionState =
|
||||
std::make_shared<ForwardSceneGraphExecutionState>();
|
||||
|
||||
Reference in New Issue
Block a user