MayaFlux 0.3.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 1016 of file ShaderFoundry.cpp.

1017{
1018 auto it = m_semaphores.find(semaphore_id);
1019 if (it != m_semaphores.end()) {
1020 return it->second.semaphore;
1021 }
1022 return nullptr;
1023}
std::unordered_map< SemaphoreID, SemaphoreState > m_semaphores

References m_semaphores.