Diligent::IFenceD3D12 struct

Exposes Direct3D12-specific functionality of a fence object.

Contents

Base classes

struct IFence
Fence interface.

Public functions

auto GetD3D12Fence() -> ID3D12Fence*METHOD() virtual
Returns a pointer to the ID3D12Fence interface of the internal Direct3D12 object.
auto WaitForCompletion(Uint64 Value) -> void METHOD() virtual
Waits until the fence reaches the specified value, on the host.

Function documentation

ID3D12Fence*METHOD() Diligent::IFenceD3D12::GetD3D12Fence() virtual

Returns a pointer to the ID3D12Fence interface of the internal Direct3D12 object.

The method does NOT call AddRef() on the returned interface, so Release() must not be called.