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

[Test, CloseAfterFirstFrame]
public void VertexFormatShouldMatchCircularBufferShaderVertexFormat()
{
    var vertices = new VertexPosition2DColorUV[4];
    Assert.Throws<CircularBuffer.ShaderVertexFormatDoesNotMatchVertex>(
        () => buffer2D.Add(image, vertices));
}
See Also