Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VertexInputLayout" /> class.
 /// </summary>
 /// <param name="id">The id.</param>
 /// <param name="bufferLayouts">The vertex buffer layouts.</param>
 private VertexInputLayout(int id, ReadOnlyArray <VertexBufferLayout> bufferLayouts)
 {
     this.Id            = id;
     this.BufferLayouts = bufferLayouts;
     InputElements      = ComputeInputElements();
 }