Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/PsoLruCache.h |
Include |
#include "PsoLruCache.h" |
FSetElementId Add
(
const KeyType & Key,
const ValueType & Value
)
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.
FSetElementId of the entry, update recent status without requiring a find operation.
Parameter |
Description |
---|---|
Key |
The entry's lookup key. |
Value |
The entry's value. |