MeshCache::LockMeshCacheItem

MeshCache::LockMeshCacheItem
virtual void LockMeshCacheItem(Render::MeshCacheItem* pdata, UByte** pvertexDataStart, IndexType** pindexDataStart) = 0;
Description

Locks the buffers (VB/IB) of a MeshCacheItem, returning CPU addressable memory to update them. With SimpleMeshCache (consoles), there is no graphics API specific "lock" that happens, it simply returns the pointers.

Parameters
Parameters 
Description 
Render::MeshCacheItem* pdata 
Pointer to the mesh data cached in the buffer. 
UByte** pvertexDataStart 
Pointer to the beginning of the vertex data in the buffer. 
IndexType** pindexDataStart 
Pointer to the beginning of the index data in the buffer.