![]() |
NDEVR
API Documentation
|
A queue of commands or actions to be executed in order by the Vulkan engine. More...
Public Member Functions | |
| VulkanQueueCore (const DynamicPointer< VulkanInstance > &instance, VkQueue_T *queue, VkCommandPool_T *command_pool) | |
| Constructs a queue core wrapping native Vulkan queue and command pool handles. | |
| ~VulkanQueueCore () | |
| Destructor. | |
| void | clearLastThread () |
| Clears the last thread record. | |
| uint04 | currentThread () const |
| Returns the ID of the thread currently using this queue. | |
| uint04 | lastThread () const |
| Returns the ID of the thread that last used this queue. | |
| void | setThread (uint04 thread) |
| Sets the current thread using this queue. | |
Public Attributes | |
| VkCommandPool_T * | command_pool |
| The native Vulkan command pool handle. | |
| VkQueue_T * | queue |
| The native Vulkan queue handle. | |
Protected Attributes | |
| uint04 | m_current_thread |
| The thread currently using this queue. | |
| DynamicPointer< VulkanInstance > | m_instance |
| The Vulkan instance this queue belongs to. | |
| uint04 | m_last_thread |
| The thread that last used this queue. | |
A queue of commands or actions to be executed in order by the Vulkan engine.
Definition at line 48 of file VulkanQueue.h.
| VulkanQueueCore::VulkanQueueCore | ( | const DynamicPointer< VulkanInstance > & | instance, |
| VkQueue_T * | queue, | ||
| VkCommandPool_T * | command_pool ) |
Constructs a queue core wrapping native Vulkan queue and command pool handles.
| [in] | instance | The Vulkan instance. |
| [in] | queue | The native Vulkan queue handle. |
| [in] | command_pool | The native Vulkan command pool handle. |
References command_pool, and queue.
| uint04 VulkanQueueCore::currentThread | ( | ) | const |
Returns the ID of the thread currently using this queue.
| uint04 VulkanQueueCore::lastThread | ( | ) | const |
Returns the ID of the thread that last used this queue.
| void VulkanQueueCore::setThread | ( | uint04 | thread | ) |
Sets the current thread using this queue.
| [in] | thread | The thread ID. |