Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/TPsoLruCache
Description
Check whether an entry for which a predicate returns true is in the cache.
| Name | ContainsByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/PsoLruCache.h |
| Include Path | #include "PsoLruCache.h" |
template<typename Predicate>
bool ContainsByPredicate
(
Predicate Pred
) const
true if at least one matching entry is in the cache, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Pred | The predicate functor to apply to each entry. |
See Also
-
FilterByPredicate
-
FindByPredicate
-
RemoveByPredicate