Added missing XML documentation.

This commit is contained in:
the_fiddler 2009-09-04 22:08:10 +00:00
parent 080af60867
commit 3f2f8e46e1

View file

@ -185,6 +185,10 @@ namespace OpenTK.Graphics
return Red ^ Green ^ Blue ^ Alpha;
}
/// <summary>
/// Returns a <see cref="System.String"/> that describes this instance.
/// </summary>
/// <returns>A <see cref="System.String"/> that describes this instance.</returns>
public override string ToString()
{
return string.Format("{0} ({1})", BitsPerPixel, (IsIndexed ? " indexed" : Red.ToString() + Green.ToString() + Blue.ToString() + Alpha.ToString()));