Template class implementing base functionality of the sampler object. More...
#include <SamplerBase.hpp>
Public Member Functions | |
SamplerBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const SamplerDesc &SamDesc, bool bIsDeviceInternal=false) | |
SamplerBase (IReferenceCounters *pRefCounters, const SamplerDesc &SamDesc) noexcept | |
Special constructor that is only used for serialization when there is no device. | |
![]() | |
DeviceObjectBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const SamplerDesc &ObjDesc, bool bIsDeviceInternal=false) | |
virtual Int32 DILIGENT_CALL_TYPE | GetUniqueID () const override final |
Returns unique identifier. | |
virtual void DILIGENT_CALL_TYPE | SetUserData (IObject *pUserData) override final |
Implementation of IDeviceObject::SetUserData. | |
virtual IObject *DILIGENT_CALL_TYPE | GetUserData () const override final |
Implementation of IDeviceObject::GetUserData. | |
Additional Inherited Members | |
![]() | |
RenderDeviceImplType *const | m_pDevice |
Pointer to the device. | |
SamplerDesc | m_Desc |
Object description. | |
Template class implementing base functionality of the sampler object.
EngineImplTraits | - Engine implementation type traits. |
|
inline |
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. |