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

# IASetPrimitiveTopology

> Bind information about the primitive type, and data order that describes input data for the input assembler stage.

Bind information about the primitive type, and data order that describes input data for the input assembler stage.

## Syntax

```cpp theme={null}
void IASetPrimitiveTopology(
    D3D12_PRIMITIVE_TOPOLOGY PrimitiveTopology
)
```

### Parameters

*PrimitiveTopology \[in]*\
Type: D3D12\_PRIMITIVE\_TOPOLOGY

The type of primitive and ordering of the primitive data (see [D3D\_PRIMITIVE\_TOPOLOGY](https://learn.microsoft.com/en-us/windows/desktop/api/d3dcommon/ne-d3dcommon-d3d_primitive_topology)).

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

[D3D12\_PRIMITIVE\_TOPOLOGY\_TYPE](/reference/graphics/d3d12_x/enums/d3d12_primitive_topology_type)

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


## Related topics

- [ClearState](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearstate_public.md)
- [D3D12_QUERY_DATA_PIPELINE_STATISTICS](/reference/graphics/d3d12/structs/d3d12_query_data_pipeline_statistics_public.md)
- [Mesh Shader pipeline API overview](/build/core-features/graphics/newfeatures/ms/ms-api-design.md)
- [D3D12_GRAPHICS_STATES](/reference/graphics/d3d12/enums/d3d12_graphics_states_public.md)
- [D3D12_PIPELINE_STATE_STREAM_DESC](/reference/graphics/d3d12/structs/d3d12_pipeline_state_stream_desc_public.md)
