Added missing XML documentation.

This commit is contained in:
the_fiddler 2009-09-04 22:08:10 +00:00
parent 2606d0d6e8
commit 4cfd0ab270

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()));