![]() |
NDEVR
API Documentation
|
A wrapper around a VulkanQueueCore that allows for thread-safe access to a specific queue. More...
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 | |
| VulkanQueueCore * | m_core |
| The underlying queue core. | |
| WLock | m_queue_lock |
| Write lock held for the duration of this object's lifetime. | |
A wrapper around a VulkanQueueCore that allows for thread-safe access to a specific queue.
Definition at line 77 of file VulkanQueue.h.
| VulkanQueue::VulkanQueue | ( | VulkanQueueCore * | core | ) |
Constructs a thread-safe queue wrapper, acquiring a lock on the core.
| [in] | core | The underlying queue core to wrap. |
| VulkanQueue::~VulkanQueue | ( | ) |
Destructor.
Releases the queue lock.
|
inline |
Returns the native Vulkan command pool handle.
Definition at line 88 of file VulkanQueue.h.
References m_core.
|
inline |
Returns the native Vulkan queue handle.
Definition at line 86 of file VulkanQueue.h.
References m_core.