コード例 #1
0
        // 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);
        }