public bool Equals(ShaderSourceCollection other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (Count != other.Count) { return(false); } for (int i = 0; i < Count; ++i) { if (!this[i].Equals(other[i])) { return(false); } } return(true); }
/// <summary> /// Initializes a new instance of the <see cref="ShaderArraySource"/> class. /// </summary> public ShaderArraySource() { Values = new ShaderSourceCollection(); }