Template class implementing base functionality for a shader resource binding.
More...
|
RefCntAutoPtr< IPipelineState > | m_spPSO |
| Strong reference to PSO. We must use strong reference, because shader resource binding uses PSO's memory allocator to allocate memory for shader resource cache.
|
|
template<class BaseInterface>
class Diligent::ShaderResourceBindingBase< BaseInterface >
Template class implementing base functionality for a shader resource binding.
- Template Parameters
-
◆ ShaderResourceBindingBase()
template<class BaseInterface>
- Parameters
-
pRefCounters | - reference counters object that controls the lifetime of this SRB. |
pPSO | - pipeline state that this SRB belongs to. |
IsInternal | - flag indicating if the shader resource binding is an internal PSO object and must not keep a strong reference to the PSO. |