# D3D10_DDI_PRIMITIVE_TOPOLOGY enumeration

The D3D10_DDI_PRIMITIVE_TOPOLOGY enumeration type contains values that identify primitive topologies in a call to the driver's IaSetTopology function.

## Syntax

```
typedef enum D3D10_DDI_PRIMITIVE_TOPOLOGY {
D3D10_DDI_PRIMITIVE_TOPOLOGY_UNDEFINED                   = 0,
D3D10_DDI_PRIMITIVE_TOPOLOGY_POINTLIST                   = 1,
D3D10_DDI_PRIMITIVE_TOPOLOGY_LINELIST                    = 2,
D3D10_DDI_PRIMITIVE_TOPOLOGY_LINESTRIP                   = 3,
D3D10_DDI_PRIMITIVE_TOPOLOGY_TRIANGLELIST                = 4,
D3D10_DDI_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP               = 5,
D3D11_DDI_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST   = 33,
D3D11_DDI_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST   = 34,
D3D11_DDI_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST   = 35,
D3D11_DDI_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST   = 36,
D3D11_DDI_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST   = 37,
D3D11_DDI_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST   = 38,
D3D11_DDI_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST   = 39,
D3D11_DDI_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST   = 40,
D3D11_DDI_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST   = 41,
D3D11_DDI_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST  = 42,
D3D11_DDI_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST  = 43,
D3D11_DDI_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST  = 44,
D3D11_DDI_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST  = 45,
D3D11_DDI_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST  = 46,
D3D11_DDI_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST  = 47,
D3D11_DDI_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST  = 48,
D3D11_DDI_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST  = 49,
D3D11_DDI_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST  = 50,
D3D11_DDI_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST  = 51,
D3D11_DDI_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST  = 52,
D3D11_DDI_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST  = 53,
D3D11_DDI_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST  = 54,
D3D11_DDI_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST  = 55,
D3D11_DDI_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST  = 56,
D3D11_DDI_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST  = 57,
D3D11_DDI_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST  = 58,
D3D11_DDI_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST  = 59,
D3D11_DDI_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST  = 60,
D3D11_DDI_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST  = 61,
D3D11_DDI_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST  = 62,
D3D11_DDI_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST  = 63,
D3D11_DDI_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST  = 64

#endif } D3D10_DDI_PRIMITIVE_TOPOLOGY;

```

## Constants

D3D10_DDI_PRIMITIVE_TOPOLOGY_UNDEFINED

The primitive topology is undefined.

D3D10_DDI_PRIMITIVE_TOPOLOGY_POINTLIST

Vertices are rendered as a collection of isolated points.

D3D10_DDI_PRIMITIVE_TOPOLOGY_LINELIST

Vertices are rendered as a list of isolated straight line segments.

D3D10_DDI_PRIMITIVE_TOPOLOGY_LINESTRIP

Vertices are rendered as a single polyline.

D3D10_DDI_PRIMITIVE_TOPOLOGY_TRIANGLELIST

Vertices are rendered as a sequence of isolated triangles. Each group of three vertices defines a separate triangle.

D3D10_DDI_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP

Vertices are rendered as a triangle strip.

The primitives contain room for adjacency information.

The primitives contain room for adjacency information.

The primitives contain room for adjacency information.

The primitives contain room for adjacency information.

D3D11_DDI_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

D3D11_DDI_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST

Supported in Windows 7 and later versions.

## Requirements

 Version Available in Windows Vista and later versions of the Windows operating systems. D3d10umddi.h (include D3d10umddi.h)