SimpleMeshCache::Evict

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

Evict evicts the mesh data items in the buffer and releases the allocator data.

Parameters
Parameters 
Description 
Render::MeshCacheItem* p 
Pointer to the MeshCacheItem which is evicted from the cache. 
AllocAddr* pallocator = 0 
The allocator used for buffer allocation.//Pointer to the block of mesh which is evicted. 
MeshBase* pmesh = 0 
The meshes in the buffer. 
Return Value

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