public override void Draw(GameTime gameTime)
{
var vertices = GetRenderingVerticies();
var indices = GetRenderingIndices();
GraphicsDevice.VertexDeclaration = _vertexDeclaration;
GraphicsDevice.DrawUserIndexedPrimitives(
PrimitiveType.TriangleList,
vertices,
0, // vertex buffer offset to add to each element of the index buffer
vertices.Length, // number of vertices to draw
indices,
0, // first index element to read
indices.Length / 3 // number of primitives to draw
);
base.Draw(gameTime);
}