VertexFormatTests VertexElementPosition3D 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 VertexElementPosition3D()
Examples

[Test]
public void VertexElementPosition3D()
{
    var element = new VertexElement(VertexElementType.Position3D);
    Assert.AreEqual(VertexElementType.Position3D, element.ElementType);
    Assert.AreEqual(3, element.ComponentCount);
    Assert.AreEqual(12, element.Size);
}
See Also