Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/TPsoLruCache
Description
Add an entry to the cache.
The new entry must not exist in the cache, there must be space within the LRU for the new entry. The new entry will be marked as the most recently used one.
| Name | Add |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/PsoLruCache.h |
| Include Path | #include "PsoLruCache.h" |
FSetElementId Add
(
const KeyType & Key,
const ValueType & Value
)
FSetElementId of the entry, update recent status without requiring a find operation.
Parameters
| Name | Remarks |
|---|---|
| Key | The entry's lookup key. |
| Value | The entry's value. |
See Also
-
Empty
-
Find
-
GetKeys
-
Remove