3#include <RendererVulkan/RendererVulkanDLL.h>
4#include <Foundation/Time/Timestamp.h>
5#include <vulkan/vulkan.hpp>
22 static void Initialize(vk::Device device);
23 static void DeInitialize();
25 static vk::Fence RequestFence();
26 static void ReclaimFence(vk::Fence& fence);
30 static vk::Device s_device;
41 plGALFenceHandle GetCurrentFenceHandle();
42 void FenceSubmitted(vk::Fence vkFence);
43 void FlushReadyFences();
53 plGALFenceHandle m_hFence;
56 plUInt64 m_uiCurrentFenceCounter = 1;
57 plUInt64 m_uiReachedFenceCounter = 0;
Simple pool for fences.
Definition FencePoolVulkan.h:20
Definition FencePoolVulkan.h:36
The Vulkan device implementation of the graphics abstraction layer.
Definition DeviceVulkan.h:58
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
A custom enum implementation that allows to define the underlying storage type to control its memory ...
Definition Enum.h:37
The time class encapsulates a double value storing the time in seconds.
Definition Time.h:12
PL_ALWAYS_INLINE static constexpr plTime MakeZero()
Creates an instance of plTime that was initialized with zero.
Definition Time.h:42