> ## 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

> Define um identificador de descritor de CPU para os buffers de vértices.

Define um identificador de descritor de CPU para os buffers de vértices.

## Sintaxe

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

### Parâmetros

*StartSlot \[in]*\
Tipo: UINT

Índice na matriz baseada em zero do dispositivo a partir do qual começar a definir os buffers de vértices.

*NumViews \[in]*\
Tipo: UINT

O número de exibições na matriz <i>pViews</i>.

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

Especifica as exibições de buffer de vértices em uma matriz de estruturas [D3D12\_VERTEX\_BUFFER\_VIEW](/pt-BR/reference/graphics/d3d12/structs/d3d12_vertex_buffer_view_public).

### Valor retornado

Tipo: void

Nenhum.

## Requisitos

**Cabeçalho:** d3d12\_xs.h ou d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib ou d3d12\_x.lib\
**Plataformas com suporte**: consoles XBOX Series e família XBOX One

## Confira também

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

[ID3D12GraphicsCommandList](/pt-BR/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [D3D12_VERTEX_BUFFER_VIEW](/pt-BR/reference/graphics/d3d12/structs/d3d12_vertex_buffer_view_public.md)
- [DrawInstanced](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_drawinstanced_public.md)
- [D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC](/pt-BR/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_triangles_desc_public.md)
- [D3D12_DRAW_INDEXED_ARGUMENTS](/pt-BR/reference/graphics/d3d12/structs/d3d12_draw_indexed_arguments_public.md)
- [DrawIndexedInstanced](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_drawindexedinstanced_public.md)
