[]
Properties defining the way a buffer (containing vertex data) is bound to the pipeline for rendering.
public struct VertexBufferBinding
Initializes a new instance of the Direct3D11.VertexBufferBinding struct.
public VertexBufferBinding(Buffer buffer, int stride, int offset)
buffer
BufferThe buffer being bound.
stride
intThe stride between vertex element (in bytes).
offset
intThe offset to the first vertex (in bytes).
Gets or sets the buffer being bound.
public Buffer Buffer { get; set; }
Gets or sets the offset from the start of the buffer of the first vertex to use (in bytes).
public int Offset { get; set; }
Gets or sets the stride between vertex elements in the buffer (in bytes).
public int Stride { get; set; }