void ISerializationCallbackReceiver.OnBeforeSerialize() { magFilter = MagFilter.ToString(); minFilter = MinFilter.ToString(); wrapT = WrapT.ToString(); wrapS = WrapS.ToString(); }
public override int GetHashCode() { int hashCode = 1910803454; hashCode = hashCode * -1521134295 + TextureId.GetHashCode(); hashCode = hashCode * -1521134295 + WrapS.GetHashCode(); hashCode = hashCode * -1521134295 + WrapT.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hash = 23; hash = hash * 37 + BorderColor.GetHashCode(); hash = hash * 37 + MinFilter.GetHashCode(); hash = hash * 37 + MagFilter.GetHashCode(); hash = hash * 37 + LodMin.GetHashCode(); hash = hash * 37 + LodMax.GetHashCode(); hash = hash * 37 + LodBias.GetHashCode(); hash = hash * 37 + WrapS.GetHashCode(); hash = hash * 37 + WrapT.GetHashCode(); hash = hash * 37 + WrapR.GetHashCode(); return(hash); }