MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / ~RunnableGraph

Method ~RunnableGraph

source/RenderGraph/RunnableGraph.cpp:337–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335 }
336
337 RunnableGraph::~RunnableGraph()noexcept
338 {
339 if ( m_context.vkDestroySemaphore && m_semaphore )
340 {
341 crgUnregisterObject( m_context, m_semaphore );
342 m_context.vkDestroySemaphore( m_context.device
343 , m_semaphore
344 , m_context.allocator );
345 }
346
347 if ( m_context.vkFreeCommandBuffers && m_commandBuffer )
348 {
349 crgUnregisterObject( m_context, m_commandBuffer );
350 m_context.vkFreeCommandBuffers( m_context.device
351 , getCommandPool()
352 , 1u
353 , &m_commandBuffer );
354 }
355 }
356
357 void RunnableGraph::record()
358 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected