3#include <RendererDX11/RendererDX11DLL.h>
5#include <Foundation/Time/Timestamp.h>
15 static void DeInitialize();
17 static ID3D11Query* RequestFence();
18 static void ReclaimFence(ID3D11Query*& ref_pFence);
20 static void InsertFence(ID3D11Query* pFence);
35 plGALFenceHandle GetCurrentFenceHandle();
36 plGALFenceHandle SubmitCurrentFence();
40 void FlushReadyFences();
46 ID3D11Query* m_pFence =
nullptr;
47 plGALFenceHandle m_hFence = {};
50 plUInt64 m_uiCurrentFenceCounter = 1;
51 plUInt64 m_uiReachedFenceCounter = 0;
Base class for all memory allocators.
Definition Allocator.h:23
Definition FencePoolDX11.h:12
Definition FencePoolDX11.h:30
The DX11 device implementation of the graphics abstraction layer.
Definition DeviceDX11.h:32
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