![]() |
Plasma Engine
2.0
|
Simple pool for command buffers. More...
#include <CommandBufferPoolVulkan.h>
Public Member Functions | |
plCommandBufferPoolVulkan (plAllocator *pAllocator) | |
void | Initialize (vk::Device device, plUInt32 graphicsFamilyIndex) |
void | DeInitialize () |
vk::CommandBuffer | RequestCommandBuffer () |
void | ReclaimCommandBuffer (vk::CommandBuffer &CommandBuffer) |
Simple pool for command buffers.
Do not call ReclaimCommandBuffer manually, instead call plGALDeviceVulkan::ReclaimLater which will make sure to reclaim the command buffer once it is no longer in use. Usage: