public bool Equals(DefaultVertexShaderOptions other)
		{
			if (ReferenceEquals(null, other))
			{
				return false;
			}
			if (ReferenceEquals(this, other))
			{
				return true;
			}
			return other.UV0_STREAM.Equals(this.UV0_STREAM) && other.UV1_STREAM.Equals(this.UV1_STREAM)
			       && other.COL_STREAM.Equals(this.COL_STREAM) && other.LIGHT_AMBIENT.Equals(this.LIGHT_AMBIENT)
			       && other.LIGHT_EMISSIVE.Equals(this.LIGHT_EMISSIVE) && other.LIGHT_DIFFUSE.Equals(this.LIGHT_DIFFUSE)
			       && other.LIGHT_SPECULAR.Equals(this.LIGHT_SPECULAR) && other.FAST_FOG.Equals(this.FAST_FOG)
			       && other.FOG.Equals(this.FOG) && other.NORM_STREAM.Equals(this.NORM_STREAM)
			       && other.TANGENT_STREAM.Equals(this.TANGENT_STREAM) && other.BITANGENT_STREAM.Equals(this.BITANGENT_STREAM)
			       && other.SKINWEIGHT_STREAM.Equals(this.SKINWEIGHT_STREAM) && other.SKIN_NORMALS.Equals(this.SKIN_NORMALS)
			       && other.SKIN_MAJOR_BONE.Equals(this.SKIN_MAJOR_BONE);
		}
Esempio n. 2
0
		public DefaultProgramOptions(DefaultVertexShaderOptions vs, DefaultFragmentShaderOptions fs)
		{
			this.vs = vs;
			this.fs = fs;
		}