MeshCache::Evict

MeshCache::Evict
virtual UPInt Evict(Render::MeshCacheItem* p, AllocAddr* pallocator = 0, MeshBase* pmesh = 0);
Description

Evict evicts the mesh data item from the mesh/index caches and frees it. Returns the resulting free block size within the specified allocator.

Parameters
Parameters 
Description 
Render::MeshCacheItem* p 
Pointer to the MeshCacheItem which is evicted from the caches. 
AllocAddr* pallocator = 0 
The allocator used for the mesh allocations. 
MeshBase* pmesh = 0 
Pointer to MeshBase for obtaining the mesh. 
Return Value

A Boolean value of true if the mesh cache items are evicted and false otherwise.