示例#1
0
        public override bool Equals(ShaderData other)
        {
            if (!base.Equals(other))
            {
                return(false);
            }

            ElementTextureRef _other = (ElementTextureRef)other;

            if (_RCOLTag != _other._RCOLTag)
            {
                return(false);
            }

            if (_RCOLTag == "GEOM")
            {
                return(index.Equals(_other.index));
            }
            else
            {
                return(data.Equals(_other.data));
            }
        }