#include <RadientFrameSRBCache.hpp>
Public Member Functions | |
| void | Add (RadientIBLResources *pResources, IShaderResourceBinding *pSRB) |
| Adds the SRB unless the resources are already cached. | |
| RefCntAutoPtr< IShaderResourceBinding > | Get (const RadientIBLResources *pResources) const noexcept |
Renderer-owned cache of immutable frame SRBs associated with view IBL resources. The cache does not retain the resource bundle; destroying the bundle evicts its SRB.
|
noexcept |
Returns a strong reference that remains valid if the cache entry is concurrently removed.