MayaFlux 1.0.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 1282 of file ShaderFoundry.cpp.

1283{
1284 auto it = m_semaphores.find(semaphore_id);
1285 if (it != m_semaphores.end()) {
1286 return it->second.semaphore;
1287 }
1288 return nullptr;
1289}
std::unordered_map< SemaphoreID, SemaphoreState > m_semaphores

References m_semaphores.