Evict evicts MeshCacheItem from mesh/index caches and frees it. Returns the resulting free block size within the specified allocator. If 'pskipMesh' argument is provided, those list of batched meshes is not touched (assumed to be cleared externally).
Parameters |
Description |
MeshCacheItem* p |
Pointer to the MeshCacheItem which is evicted from the caches. |
AllocAddr* pallocator = 0 |
The allocator used for mesh allocations. |
MeshBase* pskipMesh = 0 |
A Boolean value to indicate whether to skip the batched meshes from the eviction. |
A Boolean value of true if the mesh cache items are evicted and false otherwise.