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

Method addInputColourTarget

source/RenderGraph/FramePass.cpp:465–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463 }
464
465 void FramePass::addInputColourTarget( Attachment const & attachment )
466 {
467 auto attachName = fpass::adjustName( *this, attachment.view().data->name ) + "/IRcl";
468 auto result = addOwnAttach( attachment.imageAttach.views
469 , std::move( attachName )
470 , Attachment::FlagKind( Attachment::Flag::Input )
471 , ImageAttachment::FlagKind( ImageAttachment::Flag::None )
472 , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare
473 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
474 , ClearValue{ ClearColorValue{} }
475 , PipelineColorBlendAttachmentState{}
476 , ImageLayout::eColorAttachment
477 , &attachment );
478 m_targets.emplace_back( result );
479 }
480
481 void FramePass::addInputDepthTarget( Attachment const & attachment )
482 {

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls 2

adjustNameFunction · 0.85
viewMethod · 0.80

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64