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

Method addInputColourTargetImage

source/RenderGraph/FramePass.cpp:401–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 }
400
401 void FramePass::addInputColourTargetImage( ImageViewIdArray views )
402 {
403 auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/IRcl";
404 auto result = addOwnAttach( std::move( views )
405 , std::move( attachName )
406 , Attachment::FlagKind( Attachment::Flag::Input )
407 , ImageAttachment::FlagKind( ImageAttachment::Flag::None )
408 , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare
409 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
410 , ClearValue{ ClearColorValue{} }
411 , PipelineColorBlendAttachmentState{}
412 , ImageLayout::eColorAttachment
413 , nullptr );
414 m_targets.emplace_back( result );
415 }
416
417 void FramePass::addInputDepthTargetImage( ImageViewIdArray views )
418 {

Callers 1

TESTFunction · 0.80

Calls 1

adjustNameFunction · 0.85

Tested by 1

TESTFunction · 0.64