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

◆ begin_commands_with_wait()

CommandBufferID MayaFlux::Portal::Graphics::ShaderFoundry::begin_commands_with_wait ( CommandBufferType  type,
SemaphoreID  wait_semaphore,
vk::PipelineStageFlags  wait_stage 
)

Begin command buffer that waits on a semaphore.

Parameters
typeCommand buffer type (GRAPHICS, COMPUTE, TRANSFER)
wait_semaphoreSemaphore ID to wait on
wait_stagePipeline stage to wait at
Returns
Command buffer ID

Definition at line 1003 of file ShaderFoundry.cpp.

1007{
1008 auto sem_it = m_semaphores.find(wait_semaphore);
1009 if (sem_it == m_semaphores.end()) {
1011 }
1012
1013 return begin_commands(type);
1014}
CommandBufferID begin_commands(CommandBufferType type)
Begin recording command buffer.
std::unordered_map< SemaphoreID, SemaphoreState > m_semaphores
constexpr CommandBufferID INVALID_COMMAND_BUFFER

References begin_commands(), MayaFlux::Portal::Graphics::INVALID_COMMAND_BUFFER, and m_semaphores.

+ Here is the call graph for this function: