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

[Test, CloseAfterFirstFrame]
public void IndicesAreComputedWhenNotPassedAsArgument()
{
    var vertices = new VertexPosition2DUV[4];
    buffer2D.Add(image, vertices);
    Assert.AreEqual(quadIndices, buffer2D.CachedIndices);
}
See Also