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

> 繫結基本型別類型和資料順序的相關資訊，用以描述輸入組合器階段的輸入資料。

繫結基本型別類型和資料順序的相關資訊，用以描述輸入組合器階段的輸入資料。

## 語法

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

### 參數

*PrimitiveTopology \[in]*\
類型：D3D12\_PRIMITIVE\_TOPOLOGY

基本型別的類型和基本型別資料的順序 (請參閱 [D3D\_PRIMITIVE\_TOPOLOGY](https://learn.microsoft.com/en-us/windows/desktop/api/d3dcommon/ne-d3dcommon-d3d_primitive_topology))。

### 傳回值

類型：void

無。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

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

[ID3D12GraphicsCommandList](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [ClearState](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearstate_public.md)
- [D3D12_PIPELINE_STATE_STREAM_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_pipeline_state_stream_desc_public.md)
- [D3D12_QUERY_DATA_SO_STATISTICS](/zh-TW/reference/graphics/d3d12/structs/d3d12_query_data_so_statistics_public.md)
- [Mesh Shader 管線 API 概觀](/zh-TW/build/core-features/graphics/newfeatures/ms/ms-api-design.md)
- [D3D12_RAYTRACING_PIPELINE_FLAGS (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/enums/d3d12_raytracing_pipeline_flags_public.md)
