public override int GetHashCode() { unchecked { var hashCode = 785726275; hashCode = hashCode * -1521134295 + SkinEnabled.GetHashCode(); hashCode = hashCode * -1521134295 + DiffuseTextureEnabled.GetHashCode(); hashCode = hashCode * -1521134295 + FogMode.GetHashCode(); hashCode = hashCode * -1521134295 + SkinningMode.GetHashCode(); hashCode = hashCode * -1521134295 + ShadowRenderingMode.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { return(NormalizeNormals.GetHashCode() ^ EnableLighting.GetHashCode() ^ FogMode.GetHashCode() ^ Shading.GetHashCode() ^ AlphaRejectFunction.GetHashCode() ^ lightTypeCount[1].GetHashCode() ^ lightTypeCount[2].GetHashCode()); }