#region License
/* FNA - XNA4 Reimplementation for Desktop Platforms
* Copyright 2009-2016 Ethan Lee and the MonoGame Team
*
* Released under the Microsoft Public License.
* See LICENSE for details.
*/
#endregion
namespace Microsoft.Xna.Framework.Graphics
{
///
/// Represents a render target.
///
internal interface IRenderTarget
{
///
/// Gets the width of the render target in pixels
///
/// The width of the render target in pixels.
int Width
{
get;
}
///
/// Gets the height of the render target in pixels
///
/// The height of the render target in pixels.
int Height
{
get;
}
///
/// Gets the usage mode of the render target.
///
/// The usage mode of the render target.
RenderTargetUsage RenderTargetUsage
{
get;
}
///
/// Gets the DepthFormat of the depth-stencil buffer.
///
/// The DepthFormat of the DepthStencilBuffer.
DepthFormat DepthStencilFormat
{
get;
}
///
/// Gets the handle of the depth-stencil buffer.
///
/// The depth-stencil buffer handle.
IGLRenderbuffer DepthStencilBuffer
{
get;
}
///
/// Gets the handle of the color buffer.
///
/// The color buffer handle.
IGLRenderbuffer ColorBuffer
{
get;
}
int MultiSampleCount
{
get;
}
}
}