MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_semaphore_handle()

vk::Semaphore MayaFlux::Portal::Graphics::ShaderFoundry::get_semaphore_handle ( SemaphoreID  semaphore_id)

Get Vulkan fence handle from FenceID.

Parameters
fence_idFence ID

Definition at line 900 of file ShaderFoundry.cpp.

901{
902 auto it = m_semaphores.find(semaphore_id);
903 if (it != m_semaphores.end()) {
904 return it->second.semaphore;
905 }
906 return nullptr;
907}
std::unordered_map< SemaphoreID, SemaphoreState > m_semaphores

References m_semaphores.