public void Put(MeshBatch meshBatch) { Type styleType = meshBatch.Style.Type; List <MeshBatch> batchList = _batchLists[styleType]; if (batchList == null) { batchList = new List <MeshBatch>(); _batchLists[styleType] = batchList; } meshBatch.Clear(); batchList.Add(meshBatch); }
public void ClearMeshBatch(MeshBatch meshBatch) { meshBatch.Clear(); }