#include <RadientFrameSRBCache.hpp>
Public Member Functions | |
| void | Add (RadientIBLResources *pResources, IShaderResourceBinding *pSRB, const RadientFrameSRBResourceVersions &ResourceVersions={}) |
| Adds or replaces the SRB for the specified resource versions. | |
| RefCntAutoPtr< IShaderResourceBinding > | Get (const RadientIBLResources *pResources, const RadientFrameSRBResourceVersions &ResourceVersions={}) 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. Returns null when the cached entry has a different resource versions.