[]
Bind a single vertex buffer to the input-assembler stage.
public void SetVertexBuffers(int slot, VertexBufferBinding vertexBufferBinding)
| Type | Name | Description |
|---|---|---|
| int | slot | |
| VertexBufferBinding | vertexBufferBinding |
Bind an array of vertex buffers to the input-assembler stage.
public void SetVertexBuffers(int firstSlot, params VertexBufferBinding[] vertexBufferBindings)
| Type | Name | Description |
|---|---|---|
| int | firstSlot | |
| VertexBufferBinding[] | vertexBufferBindings |
Bind an array of vertex buffers to the input-assembler stage.
public void SetVertexBuffers(int slot, Buffer[] vertexBuffers, int[] stridesRef, int[] offsetsRef)
| Type | Name | Description |
|---|---|---|
| int | slot | |
| Buffer[] | vertexBuffers | |
| int[] | stridesRef | |
| int[] | offsetsRef |
void ID3D11DeviceContext::IASetVertexBuffers([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const void* ppVertexBuffers,[In, Buffer, Optional] const void* pStrides,[In, Buffer, Optional] const void* pOffsets)
public void SetVertexBuffers(int startSlot, int numBuffers, IntPtr vertexBuffersOut, IntPtr stridesRef, IntPtr offsetsRef)
| Type | Name | Description |
|---|---|---|
| int | startSlot | |
| int | numBuffers | |
| IntPtr | vertexBuffersOut | |
| IntPtr | stridesRef | |
| IntPtr | offsetsRef |