VertexBufferBindingΒΆ

struct VertexBufferBinding : System.ValueType

Defines how a vertex buffer is bound to the graphics device for rendering.

readonly VertexBuffer VertexBuffer

Gets the vertex buffer.

Value:The vertex buffer.
readonly int VertexOffset

Gets the index of the first vertex in the vertex buffer to use.

Value:The index of the first vertex in the vertex buffer to use.
readonly int InstanceFrequency

Gets the number of instances to draw using the same per-instance data before advancing in the buffer by one element.

Value:The number of instances to draw using the same per-instance data before advancing in the buffer by one element. This value must be 0 for an element that contains per-vertex data and greater than 0 for per-instance data.