|
Blender V4.3
|
#include <BLI_memory_cache.hh>
Inherited by blender::memory_cache::tests::CachedInt.
Public Member Functions | |
| virtual | ~CachedValue ()=default |
| virtual void | count_memory (MemoryCounter &memory) const =0 |
A value that is stored in the cache. It may be freed automatically when the cache is full. This is expected to be subclassed by users of the memory cache.
Definition at line 17 of file BLI_memory_cache.hh.
|
virtualdefault |
|
pure virtual |
Gather the memory used by this value. This allows the cache system to determine when it is full.
Implemented in blender::memory_cache::tests::CachedInt.