SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::VulkanCommandPool Class Reference

VulkanCommandPool Class. This class defines the VulkanCommandPool behaves. This class is just a wrapper of VkCommandPool. More...

#include <VulkanCommandBuffer.h>

Inheritance diagram for Spices::VulkanCommandPool:
Spices::VulkanObject

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

VulkanStatem_VulkanState
 The global VulkanState Referenced from VulkanRenderBackend.
 

Detailed Description

VulkanCommandPool Class. This class defines the VulkanCommandPool behaves. This class is just a wrapper of VkCommandPool.

Definition at line 19 of file VulkanCommandBuffer.h.


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