---
UID: NF:d3d11.ID3D11DeviceContext.IASetPrimitiveTopology
title: ID3D11DeviceContext::IASetPrimitiveTopology (d3d11.h)
description: Bind information about the primitive type, and data order that describes input data for the input assembler stage.
old-location: direct3d11\id3d11devicecontext_iasetprimitivetopology.htm
tech.root: direct3d11
ms.assetid: a9896b34-b273-4be2-bea4-0fcecdf5bcad
ms.date: 12/05/2018
ms.keywords: 71a948e7-b358-d717-cbee-71a3647b9ce1, IASetPrimitiveTopology, IASetPrimitiveTopology method [Direct3D 11], IASetPrimitiveTopology method [Direct3D 11],ID3D11DeviceContext interface, ID3D11DeviceContext interface [Direct3D 11],IASetPrimitiveTopology method, ID3D11DeviceContext.IASetPrimitiveTopology, ID3D11DeviceContext::IASetPrimitiveTopology, d3d11/ID3D11DeviceContext::IASetPrimitiveTopology, direct3d11.id3d11devicecontext_iasetprimitivetopology
f1_keywords:
- d3d11/ID3D11DeviceContext.IASetPrimitiveTopology
dev_langs:
- c++
req.header: d3d11.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: D3D11.lib
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- D3D11.lib
- D3D11.dll
api_name:
- ID3D11DeviceContext.IASetPrimitiveTopology
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID3D11DeviceContext::IASetPrimitiveTopology


## -description


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


## -parameters




### -param Topology [in]

Type: <b><a href="https://docs.microsoft.com/previous-versions/windows/desktop/legacy/ff476189(v=vs.85)">D3D11_PRIMITIVE_TOPOLOGY</a></b>

The type of primitive and ordering of the primitive data (see <a href="https://docs.microsoft.com/previous-versions/windows/desktop/legacy/ff476189(v=vs.85)">D3D11_PRIMITIVE_TOPOLOGY</a>).
          


## -returns



This method does not return a value.




## -remarks



<b>Windows Phone 8:
        </b> This API is supported.
      




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d3d11/nn-d3d11-id3d11devicecontext">ID3D11DeviceContext</a>
 

 

