using System;

using Microsoft.DirectX.Direct3D;

using Icarus.Graphics.Animation;

namespace Icarus.Renderer.Animation
{
	/// <summary>
	/// Render parameters for drawing onto a direct draw surface.
	/// </summary>
	public class DDRenderParameters : IRenderParameters
	{
		/// <summary>
		/// The surface onto which we will be rendering stuff.
		/// </summary>
		private Surface m_Surface;

		/// <summary>
		/// Returns the surface onto which we want to draw stuff.
		/// </summary>
		public Surface TargetSurface
		{
			get { return m_Surface; }
			set { m_Surface = value; }
		}

		/// <summary>
		/// Initializes the render parameters.
		/// </summary>
		/// <param name="s">The target surface.</param>
		public DDRenderParameters(Surface s)
		{
			m_Surface = s;
		}
	}
}
