Go to the documentation of this file.
63 m_PendingQueries.emplace_back(std::move(pCtx), std::move(pQuery), Value);
69 struct PendingFenceData
71 CComPtr<ID3D11DeviceContext> pd3d11Ctx;
72 CComPtr<ID3D11Query> pd3d11Query;
75 PendingFenceData(CComPtr<ID3D11DeviceContext> pCtx, CComPtr<ID3D11Query> pQuery,
Uint64 _Value) :
77 pd3d11Ctx {std::move(pCtx)},
78 pd3d11Query{std::move(pQuery)},
83 std::deque<PendingFenceData> m_PendingQueries;
Fence implementation in Direct3D11 backend.
Definition: FenceD3D11Impl.hpp:43
Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:44
virtual Uint64 GetCompletedValue() override final
Implementation of IFence::GetCompletedValue() in Direct3D11 backend.
Definition: FenceD3D11Impl.cpp:48
uint64_t Uint64
64-bit unsigned integer
Definition: BasicTypes.h:50
Template class implementing base functionality of the fence object.
Definition: FenceBase.hpp:46
~FenceD3D11Impl()
Definition: FenceD3D11Impl.cpp:44
void Wait(Uint64 Value, bool FlushCommands)
Definition: FenceD3D11Impl.cpp:70
virtual void Reset(Uint64 Value) override final
Implementation of IFence::Reset() in Direct3D11 backend.
Definition: FenceD3D11Impl.cpp:88
#define IMPLEMENT_QUERY_INTERFACE_IN_PLACE(InterfaceID, ParentClassName)
Definition: ObjectBase.hpp:59
#define DILIGENT_CALL_TYPE
Definition: CommonDefinitions.h:45
FenceD3D11Impl(IReferenceCounters *pRefCounters, RenderDeviceD3D11Impl *pDevice, const FenceDesc &Desc)
Definition: FenceD3D11Impl.cpp:37
Render device implementation in Direct3D11 backend.
Definition: RenderDeviceD3D11Impl.hpp:40
Fence description.
Definition: Fence.h:43
void AddPendingQuery(CComPtr< ID3D11DeviceContext > pCtx, CComPtr< ID3D11Query > pQuery, Uint64 Value)
Definition: FenceD3D11Impl.hpp:61
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37