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

Method addInputDepthTargetImage

source/RenderGraph/FramePass.cpp:417–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415 }
416
417 void FramePass::addInputDepthTargetImage( ImageViewIdArray views )
418 {
419 auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/IRdp";
420 auto result = addOwnAttach( std::move( views )
421 , std::move( attachName )
422 , Attachment::FlagKind( Attachment::Flag::Input )
423 , ImageAttachment::FlagKind( ImageAttachment::Flag::Depth )
424 , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare
425 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
426 , ClearValue{ ClearDepthStencilValue{} }
427 , PipelineColorBlendAttachmentState{}
428 , ImageLayout::eDepthStencilAttachment
429 , nullptr );
430 m_targets.emplace_back( result );
431 }
432
433 void FramePass::addInputStencilTargetImage( ImageViewIdArray views )
434 {

Callers 1

TESTFunction · 0.80

Calls 1

adjustNameFunction · 0.85

Tested by 1

TESTFunction · 0.64