How is it possible to create some vertex arrays in graphics memory and then draw them periodical with different matrices?
Direct3D pseudo-code:
// create vertex buffer in graphics memory
VertexBuffer vb = new VertexBuffer(
typeof(CustomVertex.PositionColored),
numVerts,
D3Ddevice,
Usage.None,
CustomVertex.PositionColored.Format,
Pool.Default);
// write array to graphics memory
GraphicsStream stm = vb.Lock(0, 0, LockFlags.None);
stm.Write(array);
vb.Unlock();
// draw vertices directly from graphics memory
D3Ddevice.Transform.World = GetTransformMatrix();
D3Ddevice.SetStreamSource(0, vb, 0);
D3Ddevice.DrawPrimitives(PrimitiveType.LineStrip, 0, numVerts - 1);