MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / addOutputColourTarget

Method addOutputColourTarget

source/RenderGraph/FramePass.cpp:598–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596 }
597
598 Attachment const * FramePass::addOutputColourTarget( ImageViewIdArray views
599 , ClearColorValue clearValue )
600 {
601 auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/ORcl";
602 auto result = addOwnAttach( std::move( views )
603 , std::move( attachName )
604 , Attachment::FlagKind( Attachment::Flag::Output )
605 , ImageAttachment::FlagKind( ImageAttachment::Flag::None )
606 , AttachmentLoadOp::eClear, AttachmentStoreOp::eStore
607 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
608 , ClearValue{ std::move( clearValue ) }
609 , PipelineColorBlendAttachmentState{}
610 , ImageLayout::eColorAttachment
611 , nullptr );
612 m_targets.emplace_back( result );
613 return result;
614 }
615
616 Attachment const * FramePass::addOutputDepthTarget( ImageViewIdArray views
617 , ClearDepthStencilValue clearValue )

Callers 11

TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
buildSsaoPassFunction · 0.80
buildDeferredFunction · 0.80
buildWeightedBlendedFunction · 0.80
TYPED_TESTFunction · 0.80
TESTFunction · 0.80
TestBases.cppFile · 0.80

Calls 1

adjustNameFunction · 0.85

Tested by 9

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
buildSsaoPassFunction · 0.64
buildDeferredFunction · 0.64
buildWeightedBlendedFunction · 0.64
TYPED_TESTFunction · 0.64
TESTFunction · 0.64