ID3D12CommandList::SetVertexBuffers method

[This documentation is preliminary and is subject to change.]

Sets a CPU descriptor handle for the vertex buffers.

Syntax


void SetVertexBuffers(
  [in]            UINT StartSlot,
  [in, optional]  const D3D12_CPU_DESCRIPTOR_HANDLE *pDescriptors,
  [in]            BOOL SingleHandleToDescriptorRange,
  [in]            UINT NumDescriptors
);

Parameters

StartSlot [in]

Type: UINT

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

pDescriptors [in, optional]

Type: const D3D12_CPU_DESCRIPTOR_HANDLE*

A pointer to a D3D12_CPU_DESCRIPTOR_HANDLE structure that describes the CPU descriptor handle that represents the start of the heap.

SingleHandleToDescriptorRange [in]

Type: BOOL

Specifies whether to set a single handle or multiple handles. If TRUE, sets a single handle. If FALSE, sets multiple handles.

NumDescriptors [in]

Type: UINT

The number of descriptors to set.

Return value

Returns nothing.

Requirements

Header

D3D12.h

Library

D3D12.lib

DLL

D3D12.dll

See also

ID3D12CommandList

 

 

Show: