Exemple #1
0
 /// <summary>
 /// Tells the current layer to finish drawing.
 /// </summary>
 public void EndLayer()
 {
     if (CurrentLayer != null)
     {
         renderQueue.Add(CurrentLayer);
         CurrentLayer.End();
         currentLayerIndex = -1;
     }
 }