|
Blender V4.3
|
Inherits blender::memory_cache::CachedValue.
Public Member Functions | |
| CachedInt (int initial_value) | |
| void | count_memory (MemoryCounter &memory) const override |
Public Member Functions inherited from blender::memory_cache::CachedValue | |
| virtual | ~CachedValue ()=default |
Public Attributes | |
| int | value |
Definition at line 41 of file BLI_memory_cache_test.cc.
|
inline |
Definition at line 45 of file BLI_memory_cache_test.cc.
|
inlineoverridevirtual |
Gather the memory used by this value. This allows the cache system to determine when it is full.
Implements blender::memory_cache::CachedValue.
Definition at line 47 of file BLI_memory_cache_test.cc.
References blender::memory_counter::MemoryCounter::add().
| int blender::memory_cache::tests::CachedInt::value |
Definition at line 43 of file BLI_memory_cache_test.cc.