Shader Flags Property Delta Engine Documentation

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

public ShaderFlags Flags { get; }

Property Value

Type: ShaderFlags
Remarks

Tests: DeltaEngine.Tests.Content.ShaderTests
Examples

1 unit tests call DeltaEngine.Content.Shader.Flags
[Test]
public void ShadersAreEqualWhenTheFlagsAreTheSame()
{
    Shader coloredShader = CreateShaderByFlags(ShaderFlags.Colored);
    Assert.AreEqual(coloredShader, CreateShaderByFlags(ShaderFlags.Colored));
    Assert.AreNotEqual(coloredShader, CreateShaderByFlags(ShaderFlags.Textured));
}
See Also