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

Method addInputStorageBuffer

source/RenderGraph/FramePass.cpp:117–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116
117 void FramePass::addInputStorageBuffer( BufferViewIdArray buffers
118 , uint32_t binding )
119 {
120 auto attachName = fpass::adjustName( *this, buffers.front().data->name ) + "/SB";
121 auto attach = addOwnAttach( std::move( buffers )
122 , std::move( attachName )
123 , Attachment::FlagKind( Attachment::Flag::Input )
124 , BufferAttachment::FlagKind( BufferAttachment::Flag::Storage )
125 , AccessState{}
126 , nullptr );
127 m_inputs.try_emplace( binding, attach );
128 }
129
130 void FramePass::addInputStorageImage( ImageViewIdArray views
131 , uint32_t binding )

Callers 1

TESTFunction · 0.80

Calls 1

adjustNameFunction · 0.85

Tested by 1

TESTFunction · 0.64