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

Method addInputSampled

source/RenderGraph/FramePass.cpp:99–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 void FramePass::addInputSampled( Attachment const & attachment
100 , uint32_t binding
101 , SamplerDesc samplerDesc )
102 {
103 auto attachName = fpass::adjustName( *this, attachment.view( 0 ).data->name ) + "/Spl";
104 auto attach = addOwnAttach( attachment.imageAttach.views
105 , std::move( attachName )
106 , Attachment::FlagKind( Attachment::Flag::Input )
107 , ImageAttachment::FlagKind( ImageAttachment::Flag::Sampled )
108 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
109 , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare
110 , ClearValue{}
111 , PipelineColorBlendAttachmentState{}
112 , ImageLayout::eShaderReadOnly
113 , &attachment );
114 m_sampled.try_emplace( binding, attach, std::move( samplerDesc ) );
115 }
116
117 void FramePass::addInputStorageBuffer( BufferViewIdArray buffers
118 , uint32_t binding )

Callers 11

TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
buildSsaoPassFunction · 0.80
buildDeferredFunction · 0.80
buildWeightedBlendedFunction · 0.80
TYPED_TESTFunction · 0.80
TESTFunction · 0.80
TestBases.cppFile · 0.80

Calls 2

adjustNameFunction · 0.85
viewMethod · 0.80

Tested by 9

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
buildSsaoPassFunction · 0.64
buildDeferredFunction · 0.64
buildWeightedBlendedFunction · 0.64
TYPED_TESTFunction · 0.64
TESTFunction · 0.64