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

Method addInputTransferImage

source/RenderGraph/FramePass.cpp:290–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 }
289
290 void FramePass::addInputTransferImage( ImageViewIdArray views )
291 {
292 auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/ITrf";
293 auto attach = addOwnAttach( std::move( views )
294 , std::move( attachName )
295 , Attachment::FlagKind( Attachment::Flag::Input )
296 , ImageAttachment::FlagKind( ImageAttachment::Flag::Transfer )
297 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
298 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
299 , ClearValue{}
300 , PipelineColorBlendAttachmentState{}
301 , ImageLayout::eTransferSrc
302 , nullptr );
303 m_inputs.try_emplace( TransferOffset + uint32_t( m_inputs.size() ), attach );
304 }
305
306 void FramePass::addInputTransfer( Attachment const & attachment )
307 {

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls 2

adjustNameFunction · 0.85
sizeMethod · 0.80

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64