Namespace: DeltaEngine.Content
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Content.ShaderTests
1 unit tests call DeltaEngine.Content.Shader.Equals(DeltaEngine.Content.Shader)
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- other
- Type: DeltaEngine.Content Shader
Return Value
Type: BooleanImplements
IEquatable T Equals(T)Remarks
Examples
[Test] public void CompareShaderCreationDatas() { var data1 = new ShaderCreationData(ShaderFlags.Colored); var data2 = new ShaderCreationData(ShaderFlags.Textured); var data3 = new ShaderCreationData(ShaderFlags.Textured); Assert.IsFalse(data1.Equals(data2)); Assert.IsTrue(data2.Equals(data3)); Assert.AreNotEqual(data1, data2); Assert.AreEqual(data2, data3); }
See Also