// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using Microsoft.Xna.Framework.Graphics;
namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics
{
public class AtcInterpolatedBitmapContent : AtcBitmapContent
{
///
/// Creates an instance of AtcInterpolatedBitmapContent.
///
public AtcInterpolatedBitmapContent()
{
}
///
/// Creates an instance of AtcInterpolatedBitmapContent with the specified width and height.
///
/// The width in pixels of the bitmap.
/// The height in pixels of the bitmap.
public AtcInterpolatedBitmapContent(int width, int height)
: base(width, height)
{
}
///
/// Gets the corresponding GPU texture format for the specified bitmap type.
///
/// Format being retrieved.
/// The GPU texture format of the bitmap type.
public override bool TryGetFormat(out SurfaceFormat format)
{
format = SurfaceFormat.RgbaAtcInterpolatedAlpha;
return true;
}
///
/// Returns a string description of the bitmap.
///
/// Description of the bitmap.
public override string ToString()
{
return "ATITC Interpolated Alpha " + Width + "x" + Height;
}
}
}