NDEVR
API Documentation
VulkanQueue

A wrapper around a VulkanQueueCore that allows for thread-safe access to a specific queue. More...

Collaboration diagram for VulkanQueue:
[legend]

Public Member Functions

 VulkanQueue (VulkanQueueCore *core)
 Constructs a thread-safe queue wrapper, acquiring a lock on the core.
 ~VulkanQueue ()
 Destructor.
VkCommandPool_T * command_pool ()
 Returns the native Vulkan command pool handle.
VkQueue_T * queue ()
 Returns the native Vulkan queue handle.

Protected Attributes

VulkanQueueCorem_core
 The underlying queue core.
WLock m_queue_lock
 Write lock held for the duration of this object's lifetime.

Detailed Description

A wrapper around a VulkanQueueCore that allows for thread-safe access to a specific queue.


Definition at line 77 of file VulkanQueue.h.

Constructor & Destructor Documentation

◆ VulkanQueue()

VulkanQueue::VulkanQueue ( VulkanQueueCore * core)

Constructs a thread-safe queue wrapper, acquiring a lock on the core.

Parameters
[in]coreThe underlying queue core to wrap.

◆ ~VulkanQueue()

VulkanQueue::~VulkanQueue ( )

Destructor.

Releases the queue lock.

Member Function Documentation

◆ command_pool()

VkCommandPool_T * VulkanQueue::command_pool ( )
inline

Returns the native Vulkan command pool handle.

Returns
The VkCommandPool handle.

Definition at line 88 of file VulkanQueue.h.

References m_core.

◆ queue()

VkQueue_T * VulkanQueue::queue ( )
inline

Returns the native Vulkan queue handle.

Returns
The VkQueue handle.

Definition at line 86 of file VulkanQueue.h.

References m_core.


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