예제 #1
0
 /// <summary>
 /// Begin batching.
 /// </summary>
 /// <param name="blendMode">Blend mode.</param>
 public static void Begin(this IGraphicsBatchService batch, BlendMode blendMode)
 {
     batch.Begin(blendMode, batch.RenderTarget.GetView());
 }
예제 #2
0
 /// <summary>
 /// Begin batching.
 /// </summary>
 public static void Begin(this IGraphicsBatchService batch)
 {
     batch.Begin(BlendMode.Alpha);
 }
예제 #3
0
 /// <summary>
 /// Begin batching.
 /// </summary>
 /// <param name="blendMode">Blend mode.</param>
 /// <param name="view">View.</param>
 public static void Begin(this IGraphicsBatchService batch, BlendMode blendMode, View view)
 {
     batch.Begin(blendMode, view.Viewport, view.Center, view.Size, view.Rotation);
 }