Ejemplo n.º 1
0
 public override bool Equals(ShaderData other)
 {
     return(base.Equals(other) &&
            this.data0 == ((ElementFloat2)other).data0 &&
            this.data1 == ((ElementFloat2)other).data1
            );
 }
Ejemplo n.º 2
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));
            }
        }
Ejemplo n.º 3
0
 public override bool Equals(ShaderData other)
 {
     return(base.Equals(other) && this.data == ((ElementInt)other).data);
 }