[]
Initializes a new instance of the VertexBufferBinding struct.
public VertexBufferBinding(Buffer buffer, int stride, int offset)
Type | Name | Description |
---|---|---|
Buffer | buffer | The buffer being bound. |
int | stride | The stride between vertex element (in bytes). |
int | offset | The offset to the first vertex (in bytes). |