Class Queue#
Defined in File Queue.h
Inheritance Relationships#
Derived Type#
public TRAP::Graphics::API::VulkanQueue
(Class VulkanQueue)
Class Documentation#
-
class Queue#
Subclassed by TRAP::Graphics::API::VulkanQueue
Public Functions
-
virtual ~Queue()#
Destructor.
-
virtual void WaitQueueIdle() const = 0#
Wait for the queue to finish all submitted commands.
-
virtual void Submit(const RendererAPI::QueueSubmitDesc &desc) const = 0#
Submit work to the queue.
- Parameters:
desc – Queue submit description.
-
constexpr RendererAPI::QueueType GetQueueType() const noexcept#
Retrieve the queue type.
- Returns:
Queue type.
-
virtual RendererAPI::PresentStatus Present(const RendererAPI::QueuePresentDesc &desc) const = 0#
Queue an image for presentation.
Remark
Headless mode: This function is not available in headless mode.
- Parameters:
desc – Queue presentation description.
- Returns:
Presentation status.
Public Static Functions
Protected Functions
-
explicit Queue(RendererAPI::QueueType queueType)#
Constructor.
Protected Attributes
-
RendererAPI::QueueType m_type = RendererAPI::QueueType::Graphics#
-
virtual ~Queue()#