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

Method addOutputTransferImage

source/RenderGraph/FramePass.cpp:384–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382 }
383
384 Attachment const * FramePass::addOutputTransferImage( ImageViewIdArray views )
385 {
386 auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/OT";
387 auto result = addOwnAttach( std::move( views )
388 , std::move( attachName )
389 , Attachment::FlagKind( Attachment::Flag::Output )
390 , ImageAttachment::FlagKind( ImageAttachment::Flag::Transfer )
391 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
392 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
393 , ClearValue{}
394 , PipelineColorBlendAttachmentState{}
395 , ImageLayout::eTransferDst
396 , nullptr );
397 m_outputs.try_emplace( TransferOffset + uint32_t( m_outputs.size() ), result );
398 return result;
399 }
400
401 void FramePass::addInputColourTargetImage( ImageViewIdArray views )
402 {

Callers 3

TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 2

adjustNameFunction · 0.85
sizeMethod · 0.80

Tested by 3

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64