ShaderTests ShadersAreEqualWhenTheFlagsAreTheSame Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Content
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ShadersAreEqualWhenTheFlagsAreTheSame()
Examples

[Test]
public void ShadersAreEqualWhenTheFlagsAreTheSame()
{
    Shader coloredShader = CreateShaderByFlags(ShaderFlags.Colored);
    Assert.AreEqual(coloredShader, CreateShaderByFlags(ShaderFlags.Colored));
    Assert.AreNotEqual(coloredShader, CreateShaderByFlags(ShaderFlags.Textured));
}
See Also