Пример #1
0
 /// <summary>
 /// In case an array was used it must be freed back to the pool
 /// </summary>
 /// <param name="sortedList">Reference to the <see cref="ParticleList"/> to be freed</param>
 public void FreeSortedList(ref ParticleList sortedList)
 {
     sortedList.Free(ArrayPool);
 }
Пример #2
0
 /// <summary>
 /// The default sorter does not allocate any resources so there is nothing to free
 /// </summary>
 /// <param name="sortedList">Reference to the <see cref="ParticleList"/> to be freed</param>
 public void FreeSortedList(ref ParticleList sortedList)
 {
 }