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

◆ record_deferred_commands()

void MayaFlux::Core::VKCommandManager::record_deferred_commands ( const std::function< void(vk::CommandBuffer)> &  recorder)

Record deferred commands for later submission.

Parameters
recorderCommand recording function that takes a command buffer

Definition at line 160 of file VKCommandManager.cpp.

162{
163 if (!m_deferred_cmd)
165 recorder(m_deferred_cmd);
166 m_deferred_pending = true;
167}
vk::CommandBuffer begin_single_time_commands()
Begin single-time command (for transfers, etc.)

References begin_single_time_commands(), m_deferred_cmd, and m_deferred_pending.

Referenced by MayaFlux::Core::BackendResourceManager::record_deferred_commands().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: