ID3D12GraphicsCommandList::IASetVertexBuffers method (d3d12.h)

Sets a CPU descriptor handle for the vertex buffers.

Syntax

void IASetVertexBuffers(
  [in]           UINT                           StartSlot,
  [in]           UINT                           NumViews,
  [in, optional] const D3D12_VERTEX_BUFFER_VIEW *pViews
);

Parameters

[in] StartSlot

Type: UINT

Index into the device's zero-based array to begin setting vertex buffers.

[in] NumViews

Type: UINT

The number of views in the pViews array.

[in, optional] pViews

Type: const D3D12_VERTEX_BUFFER_VIEW*

Specifies the vertex buffer views in an array of D3D12_VERTEX_BUFFER_VIEW structures.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll

See also

IASetIndexBuffer

ID3D12GraphicsCommandList