MayaFlux 0.1.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 887 of file ShaderFoundry.cpp.

891{
892 auto sem_it = m_semaphores.find(wait_semaphore);
893 if (sem_it == m_semaphores.end()) {
895 }
896
897 return begin_commands(type);
898}
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: