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

Method addOutputTransferBuffer

source/RenderGraph/FramePass.cpp:371–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 }
370
371 Attachment const * FramePass::addOutputTransferBuffer( BufferViewIdArray buffers )
372 {
373 auto attachName = fpass::adjustName( *this, buffers.front().data->name ) + "/OTB";
374 auto result = addOwnAttach( std::move( buffers )
375 , std::move( attachName )
376 , Attachment::FlagKind( Attachment::Flag::Output )
377 , BufferAttachment::FlagKind( BufferAttachment::Flag::Transfer )
378 , AccessState{}
379 , nullptr );
380 m_outputs.try_emplace( TransferOffset + uint32_t( m_outputs.size() ), result );
381 return result;
382 }
383
384 Attachment const * FramePass::addOutputTransferImage( ImageViewIdArray views )
385 {

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