Template class implementing base functionality for a sampler object.
More...
template<class BaseInterface, class RenderDeviceBaseInterface, class SamplerObjAllocator>
class Diligent::SamplerBase< BaseInterface, RenderDeviceBaseInterface, SamplerObjAllocator >
Template class implementing base functionality for a sampler object.
- Template Parameters
-
template<class BaseInterface, class RenderDeviceBaseInterface, class SamplerObjAllocator>
- Parameters
-
ObjAllocator | - allocator that was used to allocate memory for this instance of the sampler object |
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<class BaseInterface, class RenderDeviceBaseInterface, class SamplerObjAllocator>
- Note
- Destructor cannot directly remove the object from the registry as this may cause a deadlock.