예제 #1
0
 public bool Equals(GlTF_VertexLayout other)
 {
     return(m_texcoord0Size == other.m_texcoord0Size &&
            m_texcoord1Size == other.m_texcoord1Size &&
            m_texcoord2Size == other.m_texcoord2Size &&
            m_texcoord3Size == other.m_texcoord3Size &&
            PositionInfo.Equals(other.PositionInfo) &&
            Nullable.Equals(NormalInfo, other.NormalInfo) &&
            Nullable.Equals(ColorInfo, other.ColorInfo) &&
            Nullable.Equals(TangentInfo, other.TangentInfo) &&
            PackVertexIdIntoTexcoord1W == other.PackVertexIdIntoTexcoord1W);
 }
예제 #2
0
    public bool Equals(ValueObjectSourceGeneratorState?other)
    {
        if (ReferenceEquals(null, other))
        {
            return(false);
        }
        if (ReferenceEquals(this, other))
        {
            return(true);
        }

        return(TypeFullyQualified == other.TypeFullyQualified &&
               IsReferenceType == other.IsReferenceType &&
               AttributeInfo.Equals(other.AttributeInfo) &&
               Settings.Equals(other.Settings) &&
               AssignableInstanceFieldsAndProperties.EqualsTo(other.AssignableInstanceFieldsAndProperties) &&
               EqualityMembers.EqualsTo(other.EqualityMembers));
    }