Plasma Engine  2.0
Loading...
Searching...
No Matches
CommandBufferPoolVulkan.h
1#pragma once
2
3#include <RendererVulkan/RendererVulkanDLL.h>
4
5#include <vulkan/vulkan.hpp>
6
19class PL_RENDERERVULKAN_DLL plCommandBufferPoolVulkan
20{
21public:
24
25 void Initialize(vk::Device device, plUInt32 graphicsFamilyIndex);
26 void DeInitialize();
27
28 vk::CommandBuffer RequestCommandBuffer();
29 void ReclaimCommandBuffer(vk::CommandBuffer& CommandBuffer);
30
31private:
32 vk::Device m_device;
33 vk::CommandPool m_commandPool;
35};
Base class for all memory allocators.
Definition Allocator.h:23
Simple pool for command buffers.
Definition CommandBufferPoolVulkan.h:20
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12