public override int GetHashCode()
            {
                var result = 17;

                result = result * 13 + FormatType.GetHashCode();
                result = result * 13 + BitsPerPixel.GetHashCode();
                result = result * 13 + RBitMask.GetHashCode();
                result = result * 13 + GBitMask.GetHashCode();
                result = result * 13 + BBitMask.GetHashCode();
                result = result * 13 + ABitMask.GetHashCode();
                result = result * 13 + FourCc.GetHashCode();
                result = result * 13 + D3D10Format.GetHashCode();
                return(result);
            }