|
| VulkanQueue (const VulkanDevice &device, const QueueType &type, const QueuePriority &priority, const UInt32 &familyId, const UInt32 &queueId) |
| Initializes the Vulkan command queue. More...
|
|
| VulkanQueue (const VulkanQueue &)=delete |
|
| VulkanQueue (VulkanQueue &&)=delete |
|
virtual | ~VulkanQueue () noexcept |
|
virtual const VulkanDevice & | device () const noexcept |
| Returns a reference to the device that provides this queue. More...
|
|
virtual const VkCommandPool & | commandPool () const noexcept |
| Returns a reference of the command pool that is used to allocate commands. More...
|
|
virtual const UInt32 & | familyId () const noexcept |
| Returns the queue family ID. More...
|
|
virtual const UInt32 & | queueId () const noexcept |
| Returns the queue ID. More...
|
|
virtual const VkSemaphore & | timelineSemaphore () const noexcept |
| Returns the internal timeline semaphore used to synchronize the queue execution. More...
|
|
virtual UInt64 | submit (const VulkanCommandBuffer &commandBuffer, Span< VkSemaphore > waitForSemaphores, Span< VkPipelineStageFlags > waitForStages, Span< VkSemaphore > signalSemaphores={ }) const |
| Submits a single command buffer and inserts a fence to wait for it. More...
|
|
virtual UInt64 | submit (const Array< const VulkanCommandBuffer * > &commandBuffers, Span< VkSemaphore > waitForSemaphores, Span< VkPipelineStageFlags > waitForStages, Span< VkSemaphore > signalSemaphores={ }) const |
| Submits a set of command buffers and inserts a fence to wait for them. More...
|
|
virtual UniquePtr< VulkanCommandBuffer > | createCommandBuffer (const bool &secondary, const bool &beginRecording) const |
| Creates a command buffer that can be used to allocate commands on the queue. More...
|
|
virtual bool | isBound () const noexcept override |
| Returns true , if the command queue is bound on the parent device. More...
|
|
virtual const QueuePriority & | priority () const noexcept override |
| Returns the priority of the queue. More...
|
|
virtual const QueueType & | type () const noexcept override |
| Returns the type of the queue. More...
|
|
virtual void | bind () override |
| Binds the queue on the parent device. More...
|
|
virtual void | release () override |
| Releases the queue from the parent device. More...
|
|
virtual UniquePtr< VulkanCommandBuffer > | createCommandBuffer (const bool &beginRecording=false) const override |
|
virtual UInt64 | submit (const VulkanCommandBuffer &commandBuffer) const override |
|
virtual UInt64 | submit (const Array< const VulkanCommandBuffer * > &commandBuffers) const override |
|
virtual void | waitFor (const UInt64 &fence) const noexcept override |
| Waits for a certain fence value to complete on the command queue. More...
|
|
virtual UInt64 | currentFence () const noexcept override |
| Returns the value of the latest fence inserted into the queue. More...
|
|
Public Member Functions inherited from LiteFX::Rendering::CommandQueue< VulkanCommandBuffer > |
virtual | ~CommandQueue () noexcept=default |
|
virtual UniquePtr< command_buffer_type > | createCommandBuffer (const bool &beginRecording=false) const=0 |
|
virtual UInt64 | submit (const command_buffer_type &commandBuffer) const=0 |
|
virtual UInt64 | submit (const Array< const command_buffer_type * > &commandBuffers) const=0 |
|
Public Member Functions inherited from LiteFX::Rendering::ICommandQueue |
virtual | ~ICommandQueue () noexcept=default |
|
virtual bool | isBound () const noexcept=0 |
| Returns true , if the command queue is bound on the parent device. More...
|
|
virtual const QueuePriority & | priority () const noexcept=0 |
| Returns the priority of the queue. More...
|
|
virtual const QueueType & | type () const noexcept=0 |
| Returns the type of the queue. More...
|
|
virtual void | bind ()=0 |
| Binds the queue on the parent device. More...
|
|
virtual void | release ()=0 |
| Releases the queue from the parent device. More...
|
|
UniquePtr< ICommandBuffer > | createCommandBuffer (const bool &beginRecording=false) const |
| Creates a command buffer that can be used to allocate commands on the queue. More...
|
|
UInt64 | submit (const ICommandBuffer &commandBuffer) const |
| Submits a single command buffer and inserts a fence to wait for it. More...
|
|
UInt64 | submit (const Array< const ICommandBuffer * > &commandBuffers) const |
| Submits a set of command buffers and inserts a fence to wait for them. More...
|
|
virtual void | waitFor (const UInt64 &fence) const noexcept=0 |
| Waits for a certain fence value to complete on the command queue. More...
|
|
virtual UInt64 | currentFence () const noexcept=0 |
| Returns the value of the latest fence inserted into the queue. More...
|
|
| Resource (const Resource &)=delete |
|
| Resource (Resource &&)=delete |
|
virtual | ~Resource () noexcept=default |
|
const VkQueue & | handle () const noexcept override |
| Returns the resource managed by the class. More...
|
|
virtual | ~IResource () noexcept=default |
|
virtual const VkQueue & | handle () const noexcept=0 |
| Returns the resource managed by the class. More...
|
|
Implements a Vulkan command queue.
- See also
- VulkanCommandBuffer