ID3D12GraphicsCommandList::IASetVertexBuffers method

Sets a CPU descriptor handle for the vertex buffers.

Syntax

void IASetVertexBuffers(
  UINT                           StartSlot,
  UINT                           NumViews,
  const D3D12_VERTEX_BUFFER_VIEW *pViews
);

Parameters

StartSlot

Type: UINT

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

NumViews

Type: UINT

The number of views in the pViews array.

pViews

Type: const D3D12_VERTEX_BUFFER_VIEW*

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

Return Value

This method does not return a value.

Requirements

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

See Also

IASetIndexBuffer

ID3D12GraphicsCommandList