![]() |
Plasma Engine
2.0
|
Simple pool for fences. More...
#include <FencePoolVulkan.h>
Static Public Member Functions | |
static void | Initialize (vk::Device device) |
static void | DeInitialize () |
static vk::Fence | RequestFence () |
static void | ReclaimFence (vk::Fence &fence) |
Simple pool for fences.
Do not call ReclaimFence manually, instead call plGALDeviceVulkan::ReclaimLater which will make sure to reclaim the fence once it is no longer in use. Fences are reclaimed once the frame in plGALDeviceVulkan is reused (currently 4 frames are in rotation). Do not call resetFences, this is already done by ReclaimFence. Usage: