// RenderToTarget (Renders current batch to parameter target) internal void RenderToTarget(IRenderTarget target) { // Keep view View view = target.GetView(); // Render to target _layers.Render(target); // Reset view target.SetView(view); }