Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransientIndexBuffer"/> struct.
 /// </summary>
 /// <param name="indexCount">The number of 16-bit indices that fit in the buffer.</param>
 private TransientIndexBuffer(int indexCount)
 {
     GraphicsContext.AllocTransientIndexBuffer(out this, indexCount);
 }