> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IASetVertexBuffers

> Sets a CPU descriptor handle for the vertex buffers.

Sets a CPU descriptor handle for the vertex buffers.

## Syntax

```cpp theme={null}
void IASetVertexBuffers(
    UINT StartSlot,
    UINT NumViews,
    const D3D12_VERTEX_BUFFER_VIEW  pViews
)
```

### Parameters

*StartSlot \[in]*\
Type: UINT

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

*NumViews \[in]*\
Type: UINT

The number of views in the <i>pViews</i> array.

*pViews \[in, optional]*\
Type: const D3D12\_VERTEX\_BUFFER\_VIEW \*

Specifies the vertex buffer views in an array of [D3D12\_VERTEX\_BUFFER\_VIEW](/reference/graphics/d3d12/structs/d3d12_vertex_buffer_view_public) structures.

### Return value

Type: void

None.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[IASetIndexBuffer](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_iasetindexbuffer_public)

[ID3D12GraphicsCommandList](/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [D3D12_VERTEX_BUFFER_VIEW](/reference/graphics/d3d12/structs/d3d12_vertex_buffer_view_public.md)
- [Meshlets](/build/core-features/graphics/newfeatures/ms/ms-meshlet-render.md)
- [DrawIndexedInstanced](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_drawindexedinstanced_public.md)
- [D3D12_DRAW_INDEXED_ARGUMENTS](/reference/graphics/d3d12/structs/d3d12_draw_indexed_arguments_public.md)
- [D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_triangles_desc_public.md)
