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

[Test]
public void VertexFormatVertexPosition3DColorSkinned()
{
    var format = VertexFormat.Position3DColorSkinned;
    Assert.AreEqual(32, format.Stride);
    Assert.AreEqual(0, format.Elements[0].Offset);
    Assert.AreEqual(12, format.Elements[1].Offset);
    Assert.AreEqual(16, format.Elements[2].Offset);
    Assert.AreEqual(24, format.Elements[3].Offset);
}
See Also