virtual void LockMeshCacheItem(Render::MeshCacheItem* pdata, UByte** pvertexDataStart, IndexType** pindexDataStart) = 0;
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 |
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. |