Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransientVertexBuffer"/> struct.
 /// </summary>
 /// <param name="vertex_count">The number of vertices that fit in the buffer.</param>
 /// <param name="layout">The layout of the vertex data.</param>
 private TransientVertexBuffer(int vertex_count, VertexLayout layout)
 {
     GraphicsContext.AllocTransientVertexBuffer(out this, vertex_count, ref layout);
 }