|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Graphics::ShaderFoundry::release_fence | ( | FenceID | fence_id | ) |
Destroy the fence and free its associated command buffer.
Must be called once per FenceID returned by submit_async, after is_fence_signaled returns true. Failure to call this leaks a VkFence and a command buffer slot every dispatch cycle.
Safe to call with INVALID_FENCE.
| fence_id | FenceID returned by submit_async. |
Definition at line 1072 of file ShaderFoundry.cpp.
References get_device(), MayaFlux::Portal::Graphics::INVALID_COMMAND_BUFFER, MayaFlux::Portal::Graphics::INVALID_FENCE, m_backend, m_command_buffers, and m_fences.
Here is the call graph for this function: