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

Method destroyImageView

source/RenderGraph/ResourceHandler.cpp:564–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562 }
563
564 void ResourceHandler::destroyImageView( GraphContext & context
565 , ImageViewId viewId )
566 {
567 lock_type lock( m_bufferViewsMutex );
568 auto it = m_imageViews.find( viewId );
569
570 if ( it != m_imageViews.end() )
571 {
572 if ( context.vkDestroyImageView && it->second )
573 {
574 context.vkDestroyImageView( context.device, it->second, context.allocator );
575 }
576
577 m_imageViews.erase( it );
578 }
579 }
580
581 void ResourceHandler::destroySampler( GraphContext & context
582 , VkSampler sampler )

Callers 2

TESTFunction · 0.80

Calls 4

findMethod · 0.80
eraseMethod · 0.80
beginMethod · 0.80
endMethod · 0.45

Tested by 1

TESTFunction · 0.64