public override int GetHashCode()
 {
     return(HashHelper.Combine(
                CullMode.GetHashCode(),
                HashHelper.Combine(
                    FillMode.GetHashCode(),
                    HashHelper.Combine(IsDepthClipEnabled.GetHashCode(), IsScissorTestEnabled.GetHashCode()))));
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(DepthTest.GetHashCode() ^ DepthBias.GetHashCode() ^ FrontFace.GetHashCode() ^ CullMode.GetHashCode() ^ BlendMode.GetHashCode() ^ FillMode.GetHashCode() ^ StencilMode.GetHashCode());
 }