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

Method addInputStencilTargetImage

source/RenderGraph/FramePass.cpp:433–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431 }
432
433 void FramePass::addInputStencilTargetImage( ImageViewIdArray views )
434 {
435 auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/IRst";
436 auto result = addOwnAttach( std::move( views )
437 , std::move( attachName )
438 , Attachment::FlagKind( Attachment::Flag::Input )
439 , ImageAttachment::FlagKind( ImageAttachment::Flag::StencilInput ) | ImageAttachment::FlagKind( ImageAttachment::Flag::Stencil )
440 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
441 , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare
442 , ClearValue{ ClearDepthStencilValue{} }
443 , PipelineColorBlendAttachmentState{}
444 , ImageLayout::eDepthStencilAttachment
445 , nullptr );
446 m_targets.emplace_back( result );
447 }
448
449 void FramePass::addInputDepthStencilTargetImage( ImageViewIdArray views )
450 {

Callers 1

TESTFunction · 0.80

Calls 1

adjustNameFunction · 0.85

Tested by 1

TESTFunction · 0.64