CircularBufferTests CircularBufferCannotHandleMoreThan65536Vertices 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 CircularBufferCannotHandleMoreThan65536Vertices()
Examples

[Test, Category("Slow")]
public void CircularBufferCannotHandleMoreThan65536Vertices()
{
    Assert.AreEqual(1024, buffer3D.MaxNumberOfVertices);
    var vertices = new VertexPosition3DUV[65536];
    buffer3D.Add(image, vertices);
    buffer3D.Add(image, vertices);
    Assert.AreEqual(65536, buffer3D.MaxNumberOfVertices);
}
See Also