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

◆ execute_immediate_commands()

void MayaFlux::Core::BackendResourceManager::execute_immediate_commands ( const std::function< void(vk::CommandBuffer)> &  recorder)

Execute immediate command recording for buffer operations.

Parameters
recorderCommand recording function

Definition at line 791 of file BackendResoureManager.cpp.

792{
793 vk::CommandBuffer cmd = m_command_manager.begin_single_time_commands();
794 recorder(cmd);
796}
void end_single_time_commands(vk::CommandBuffer command_buffer, vk::Queue queue)
End and submit single-time command.
vk::CommandBuffer begin_single_time_commands()
Begin single-time command (for transfers, etc.)
vk::Queue get_graphics_queue() const
Get graphics queue.
Definition VKContext.hpp:54

References MayaFlux::Core::VKCommandManager::begin_single_time_commands(), MayaFlux::Core::VKCommandManager::end_single_time_commands(), MayaFlux::Core::VKContext::get_graphics_queue(), m_command_manager, and m_context.

Referenced by download_image_data(), record_deferred_commands(), setup_backend_service(), transition_image_layout(), and upload_image_data().

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