VertexFormatTests VertexElementColor Method Delta Engine Documentation

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

public void VertexElementColor()
Examples

[Test]
public void VertexElementColor()
{
    var element = new VertexElement(VertexElementType.Color);
    Assert.AreEqual(VertexElementType.Color, element.ElementType);
    Assert.AreEqual(4, element.ComponentCount);
    Assert.AreEqual(4, element.Size);
}
See Also