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

Method destroyBufferView

source/RenderGraph/ResourceHandler.cpp:525–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523 }
524
525 void ResourceHandler::destroyBufferView( GraphContext & context
526 , BufferViewId viewId )
527 {
528 lock_type lock( m_bufferViewsMutex );
529 auto it = m_bufferViews.find( viewId );
530
531 if ( it != m_bufferViews.end() )
532 {
533 if ( context.vkDestroyBufferView && it->second )
534 {
535 context.vkDestroyBufferView( context.device, it->second, context.allocator );
536 }
537
538 m_bufferViews.erase( it );
539 }
540 }
541
542 void ResourceHandler::destroyImage( GraphContext & context
543 , ImageId imageId )

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