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

Method addOutputStorageImage

source/RenderGraph/FramePass.cpp:241–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 }
240
241 Attachment const * FramePass::addOutputStorageImage( ImageViewIdArray views
242 , uint32_t binding )
243 {
244 auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/OStr";
245 auto result = addOwnAttach( std::move( views )
246 , std::move( attachName )
247 , Attachment::FlagKind( Attachment::Flag::Output )
248 , ImageAttachment::FlagKind( ImageAttachment::Flag::Storage )
249 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
250 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
251 , ClearValue{}
252 , PipelineColorBlendAttachmentState{}
253 , ImageLayout::eGeneral
254 , nullptr );
255 m_outputs.try_emplace( binding, result );
256 return result;
257 }
258
259 Attachment const * FramePass::addClearableOutputStorageImage( ImageViewIdArray views
260 , uint32_t binding

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls 1

adjustNameFunction · 0.85

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64