Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::CommandsSemaphore Struct Reference

#include <CommandsSemaphore.hpp>

Public Member Functions

C3D_API CommandsSemaphore (ashes::CommandBufferPtr commandBuffer=nullptr, ashes::SemaphorePtr semaphore=nullptr)
 
C3D_API CommandsSemaphore (RenderDevice const &device, QueueData const &queueData, castor::String const &name, VkCommandBufferLevel level=VK_COMMAND_BUFFER_LEVEL_PRIMARY)
 
C3D_API void submit (ashes::Queue const &queue, VkPipelineStageFlags stage=VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT) const
 
C3D_API ashes::Semaphore const & submit (ashes::Queue const &queue, ashes::Semaphore const &toWait, VkPipelineStageFlags stage=VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT) const
 
C3D_API ashes::Semaphore const & submit (ashes::Queue const &queue, crg::SemaphoreWait const &toWait) const
 
C3D_API void submit (ashes::Queue const &queue, ashes::VkSemaphoreArray &semaphores, ashes::VkPipelineStageFlagsArray &stages)
 

Public Attributes

ashes::CommandBufferPtr commandBuffer
 
ashes::SemaphorePtr semaphore
 

Constructor & Destructor Documentation

◆ CommandsSemaphore() [1/2]

C3D_API castor3d::CommandsSemaphore::CommandsSemaphore ( ashes::CommandBufferPtr  commandBuffer = nullptr,
ashes::SemaphorePtr  semaphore = nullptr 
)

◆ CommandsSemaphore() [2/2]

C3D_API castor3d::CommandsSemaphore::CommandsSemaphore ( RenderDevice const &  device,
QueueData const &  queueData,
castor::String const &  name,
VkCommandBufferLevel  level = VK_COMMAND_BUFFER_LEVEL_PRIMARY 
)

Member Function Documentation

◆ submit() [1/4]

C3D_API ashes::Semaphore const & castor3d::CommandsSemaphore::submit ( ashes::Queue const &  queue,
ashes::Semaphore const &  toWait,
VkPipelineStageFlags  stage = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT 
) const

◆ submit() [2/4]

C3D_API void castor3d::CommandsSemaphore::submit ( ashes::Queue const &  queue,
ashes::VkSemaphoreArray &  semaphores,
ashes::VkPipelineStageFlagsArray &  stages 
)

◆ submit() [3/4]

C3D_API ashes::Semaphore const & castor3d::CommandsSemaphore::submit ( ashes::Queue const &  queue,
crg::SemaphoreWait const &  toWait 
) const

◆ submit() [4/4]

C3D_API void castor3d::CommandsSemaphore::submit ( ashes::Queue const &  queue,
VkPipelineStageFlags  stage = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT 
) const

Member Data Documentation

◆ commandBuffer

ashes::CommandBufferPtr castor3d::CommandsSemaphore::commandBuffer

◆ semaphore

ashes::SemaphorePtr castor3d::CommandsSemaphore::semaphore

The documentation for this struct was generated from the following file: