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

Method addInputUniform

source/RenderGraph/FramePass.cpp:86–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void FramePass::addInputUniform( Attachment const & attachment
87 , uint32_t binding )
88 {
89 auto attachName = fpass::adjustName( *this, attachment.buffer().data->name ) + "/UB";
90 auto attach = addOwnAttach( attachment.bufferAttach.buffers
91 , std::move( attachName )
92 , Attachment::FlagKind( Attachment::Flag::Input )
93 , BufferAttachment::FlagKind( BufferAttachment::Flag::Uniform )
94 , AccessState{}
95 , &attachment );
96 m_uniforms.try_emplace( binding, attach );
97 }
98
99 void FramePass::addInputSampled( Attachment const & attachment
100 , uint32_t binding

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls 2

adjustNameFunction · 0.85
bufferMethod · 0.80

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64