VulkanCommandPool Class. This class defines the VulkanCommandPool behaves. This class is just a wrapper of VkCommandPool. More...
#include <VulkanCommandBuffer.h>
Public Member Functions | |
| VulkanCommandPool (VulkanState &vulkanState) | |
| Constructor Function. Create VkCommandPool. | |
| virtual | ~VulkanCommandPool () override |
| Destructor Function. | |
Static Public Member Functions | |
| static VkCommandPool & | GetThreadGraphicCommandPool () |
| Get Thread Graphic VkCommandPool by thread id. | |
| static VkCommandPool & | GetThreadComputeCommandPool () |
| Get Thread Compute VkCommandPool by thread id. | |
Static Public Attributes | |
| static std::vector< VkCommandPool > | m_ThreadGraphicCommandPool |
| Thread Graphic VkCommandPool map. | |
| static std::vector< VkCommandPool > | m_ThreadComputeCommandPool |
| Thread Compute VkCommandPool map. | |
| static bool | m_IsPoolActive = false |
| True if this Pool is actived. | |
| static std::mutex | m_GraphicCommandPoolMutex |
| Mutex for GraphicCommandPool. | |
| static std::mutex | m_ComputeCommandPoolMutex |
| Mutex for GraphicCommandPool. | |
Protected Attributes | |
| VulkanState & | m_VulkanState |
| The global VulkanState Referenced from VulkanRenderBackend. | |
VulkanCommandPool Class. This class defines the VulkanCommandPool behaves. This class is just a wrapper of VkCommandPool.
Definition at line 19 of file VulkanCommandBuffer.h.