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

[Test, CloseAfterFirstFrame]
public void LinesBufferShouldNotUseIndexBuffer()
{
    var linesBuffer = new MockCircularBuffer(Resolve<Device>(),
        ContentLoader.Create<ShaderWithFormat>(
        new ShaderCreationData(ShaderFlags.Position2DTextured)), BlendMode.Normal,
        VerticesMode.Lines);
    Assert.IsFalse(linesBuffer.UsesIndexBuffer);
}
See Also