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

Method getDescriptorWrite

source/RenderGraph/RunnableGraph.cpp:571–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569 }
570
571 WriteDescriptorSet RunnableGraph::getDescriptorWrite( Attachment const & attach, uint32_t binding, uint32_t index )
572 {
573 if ( attach.isImage() )
574 return rungrf::getWrite( attach.imageAttach, SamplerDesc{}, binding, 1u, index, *this );
575 return rungrf::getWrite( attach.bufferAttach, binding, 1u, index, *this );
576 }
577
578 WriteDescriptorSet RunnableGraph::getDescriptorWrite( Attachment const & attach, SamplerDesc const & samplerDesc, uint32_t binding, uint32_t index )
579 {

Callers 1

createDescriptorWritesFunction · 0.80

Calls 2

getWriteFunction · 0.85
isImageMethod · 0.80

Tested by

no test coverage detected