void GenerateMeshes(HAL* hal, MeshCacheItem * skipBatch = 0);
GenerateMeshes is called to actually generate the meshes, or alternatively copy them from an existing buffer. It is called both before (by the constructor) and after the new MeshCacheItem is allocated, because this allocation may cause eviction of the previous buffer (and then it cannot be copied from).
Parameters |
Description |
HAL* hal |
The render HAL. |
MeshCacheItem * skipBatch = 0 |
_nt_ |