Exemplo n.º 1
0
 /// <summary>
 /// Notifies a layer that it should prepare to draw.
 /// </summary>
 /// <param name="index">The index of the layer.</param>
 /// <param name="clearColor">The clear color.</param>
 public void BeginLayer(int index)
 {
     currentLayerIndex = index;
     if (CurrentLayer != null)
     {
         CurrentLayer.Begin();
     }
 }