template<typename EngineImplTraits>
Diligent::SamplerBase class

Template class implementing base functionality of the sampler object.

Template parameters
EngineImplTraits - Engine implementation type traits.

Base classes

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

Constructors, destructors, conversion operators

SamplerBase(IReferenceCounters* pRefCounters, RenderDeviceImplType* pDevice, const SamplerDesc& SamDesc, bool bIsDeviceInternal = false)
~SamplerBase()

Function documentation

template<typename EngineImplTraits>
Diligent::SamplerBase<EngineImplTraits>::SamplerBase(IReferenceCounters* pRefCounters, RenderDeviceImplType* pDevice, const SamplerDesc& SamDesc, bool bIsDeviceInternal = false)

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

template<typename EngineImplTraits>
Diligent::SamplerBase<EngineImplTraits>::~SamplerBase()