Exemple #1
0
 public void DisposeChunkRenderer(ChunkRenderer c)
 {
     DrawEvent -= c.Draw;
     if (rendererPool.Add(c))
     {
         c.CleanUp();
     }
     else
     {
         c.Dispose();
     }
 }