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

Method addInputUniformBuffer

source/RenderGraph/FramePass.cpp:55–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 void FramePass::addInputUniformBuffer( BufferViewIdArray buffers
56 , uint32_t binding )
57 {
58 auto attachName = fpass::adjustName( *this, buffers.front().data->name ) + "/UB";
59 auto attach = addOwnAttach( std::move( buffers )
60 , std::move( attachName )
61 , Attachment::FlagKind( Attachment::Flag::Input )
62 , BufferAttachment::FlagKind( BufferAttachment::Flag::Uniform )
63 , AccessState{}
64 , nullptr );
65 m_uniforms.try_emplace( binding, attach );
66 }
67
68 void FramePass::addInputSampledImage( ImageViewIdArray views
69 , uint32_t binding

Callers 3

TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 1

adjustNameFunction · 0.85

Tested by 3

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64