SpiecsEngine
 
Loading...
Searching...
No Matches

◆ ~VulkanCmdThreadPool()

Spices::VulkanCmdThreadPool::~VulkanCmdThreadPool ( )
overridevirtual

Destructor Function.

Definition at line 38 of file VulkanCmdThreadPool.cpp.

39 {
41
42 vkDeviceWaitIdle(m_VulkanState.m_Device);
43
44 for (int i = 0; i < MaxFrameInFlight; i++)
45 {
47 }
48 }
#define SPICES_PROFILE_ZONE
void FreeParallelCommandBuffers(uint32_t frameIndex)
Free all second CommandBuffer in rhi threadPool thread.
VulkanState & m_VulkanState
The global VulkanState Referenced from VulkanRenderBackend.
constexpr uint32_t MaxFrameInFlight
Max In Flight Frame. 2 buffers are enough in this program.
Definition VulkanUtils.h:22

References FreeParallelCommandBuffers(), Spices::VulkanObject::m_VulkanState, and Spices::MaxFrameInFlight.