Diligent Engine API Reference: Diligent::ShaderResourceCacheD3D11::CachedResource Struct Reference

Diligent Engine API Reference

Public Attributes | List of all members
Diligent::ShaderResourceCacheD3D11::CachedResource Struct Reference

Describes resources associated with the cached SRV or UAV. More...

## Public Attributes
RefCntAutoPtr< IDeviceObject > | pView
| Wee keep strong reference to the view instead of the reference to the texture or buffer because this is more efficient from performance point of view: this avoids one pair of AddStrongRef()/ReleaseStrongRef(). The view holds strong reference to the texture or the buffer, so it makes no difference.

## Detailed Description

Describes resources associated with the cached SRV or UAV.