template<typename EngineImplTraits>
Diligent::FenceBase class

Template class implementing base functionality of the fence object.

Template parameters
EngineImplTraits - Engine implementation type traits.

Base classes

template<class BaseInterface, typename RenderDeviceImplType, typename ObjectDescType>
class DeviceObjectBase<EngineImplTraits::FenceInterface, EngineImplTraits::RenderDeviceImplType, FenceDesc>
Template class implementing base functionality of the device object.

Constructors, destructors, conversion operators

FenceBase(IReferenceCounters* pRefCounters, RenderDeviceImplType* pDevice, const FenceDesc& Desc, bool bIsDeviceInternal = false)

Function documentation

template<typename EngineImplTraits>
Diligent::FenceBase<EngineImplTraits>::FenceBase(IReferenceCounters* pRefCounters, RenderDeviceImplType* pDevice, const FenceDesc& Desc, bool bIsDeviceInternal = false)

Parameters
pRefCounters - Reference counters object that controls the lifetime of this command list.
pDevice - Pointer to the device.
Desc - Fence description
bIsDeviceInternal - Flag indicating if the Fence is an internal device object and must not keep a strong reference to the device.