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: UINTIndex 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: BOOLSpecifies whether to set a single handle or multiple handles. If TRUE, sets a single handle. If FALSE, sets multiple handles.
NumDescriptors [in]
Type: UINTThe number of descriptors to set.
Return value
Returns nothing.
Requirements
Header |
D3D12.h |
Library |
D3D12.lib |
DLL |
D3D12.dll |