/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns> public override int GetHashCode() { return(HashHelper.Combine( CullMode.GetHashCode(), FillMode.GetHashCode(), FrontFace.GetHashCode(), DepthClipEnabled.GetHashCode(), ScissorTestEnabled.GetHashCode())); }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + FrontFace.GetHashCode(); return(hash); } }
public override int GetHashCode() { return(DepthTest.GetHashCode() ^ DepthBias.GetHashCode() ^ FrontFace.GetHashCode() ^ CullMode.GetHashCode() ^ BlendMode.GetHashCode() ^ FillMode.GetHashCode() ^ StencilMode.GetHashCode()); }