Diligent::IFence struct

Fence interface.

Defines the methods to manipulate a fence object

Base classes

struct IDeviceObject
Base interface for all objects created by the render device Diligent::IRenderDevice.

Derived classes

class IFenceD3D11
Exposes Direct3D11-specific functionality of a fence object.
struct IFenceD3D12
Exposes Direct3D12-specific functionality of a fence object.
struct IFenceGL
Exposes OpenGL-specific functionality of a fence object.
class IFenceMtl
Exposes Metal-specific functionality of a fence object.
struct IFenceVk
Exposes Vulkan-specific functionality of a fence object.

Public functions

auto GetDesc() const -> const FenceDesc&METHOD() override
Returns the fence description used to create the object.
auto GetCompletedValue() -> Uint64 METHOD() virtual
Returns the last completed value signaled by the GPU.
auto Reset(Uint64 Value) -> void METHOD() virtual
Resets the fence to the specified value.

Function documentation

Uint64 METHOD() Diligent::IFence::GetCompletedValue() virtual

Returns the last completed value signaled by the GPU.