|
Blender V4.3
|
Public Attributes | |
| std::shared_ptr< const GenericKey > | key |
| std::shared_ptr< CachedValue > | value |
| int64_t | last_use_time = 0 |
Definition at line 19 of file memory_cache.cc.
| std::shared_ptr<const GenericKey> blender::memory_cache::StoredValue::key |
The corresponding key. It's stored here, because only a reference to it is used as key in the hash table.
This is a shared_ptr instead of unique_ptr so that the entire struct is copy constructible.
Definition at line 26 of file memory_cache.cc.
| int64_t blender::memory_cache::StoredValue::last_use_time = 0 |
A logical time that indicates when the value was last used. Lower values are older.
Definition at line 30 of file memory_cache.cc.
Referenced by blender::memory_cache::set_new_logical_time().
| std::shared_ptr<CachedValue> blender::memory_cache::StoredValue::value |
The user-provided value.
Definition at line 28 of file memory_cache.cc.