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

Method getDescriptorType

source/RenderGraph/RunnableGraph.cpp:564–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562 }
563
564 VkDescriptorType RunnableGraph::getDescriptorType( Attachment const & attach )const
565 {
566 if ( attach.isImage() )
567 return rungrf::getDescriptorType( attach.imageAttach );
568 return rungrf::getDescriptorType( attach.bufferAttach );
569 }
570
571 WriteDescriptorSet RunnableGraph::getDescriptorWrite( Attachment const & attach, uint32_t binding, uint32_t index )
572 {

Callers 1

createDescriptorBindingsFunction · 0.80

Calls 2

getDescriptorTypeFunction · 0.85
isImageMethod · 0.80

Tested by

no test coverage detected