public override int GetHashCode()
            {
                int hashCode = 1910803454;

                hashCode = hashCode * -1521134295 + TextureId.GetHashCode();
                hashCode = hashCode * -1521134295 + WrapS.GetHashCode();
                hashCode = hashCode * -1521134295 + WrapT.GetHashCode();
                return(hashCode);
            }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 0;

            hash = (hash * 397) ^ TextureId.GetHashCode();

            if (PaletteChanges != null)
            {
                hash = (hash * 397) ^ PaletteChanges.GetHashCode();
            }

            return(hash);
        }