Template class implementing base functionality for a sampler object.
More...
template<class BaseInterface, class RenderDeviceBaseInterface>
class Diligent::SamplerBase< BaseInterface, RenderDeviceBaseInterface >
Template class implementing base functionality for a sampler object.
- Template Parameters
-
◆ SamplerBase()
template<class BaseInterface, class RenderDeviceBaseInterface>
- 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. |
◆ ~SamplerBase()
template<class BaseInterface, class RenderDeviceBaseInterface>
- Note
- Destructor cannot directly remove the object from the registry as this may cause a deadlock.