Share via


DirectXPrimitiveTopology Enum

Definition

Values that indicate how the pipeline interprets vertex data that is bound to the input-assembler stage. These primitive topology values determine how the vertex data is rendered on screen. This is a Windows Runtime equivalent of the D3D_PRIMITIVE_TOPOLOGY enumeration.

public enum class DirectXPrimitiveTopology
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
enum class DirectXPrimitiveTopology
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
public enum DirectXPrimitiveTopology
var value = Windows.Graphics.DirectX.DirectXPrimitiveTopology.undefined
Public Enum DirectXPrimitiveTopology
Inheritance
DirectXPrimitiveTopology
Attributes

Windows requirements

Requirements Description
Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Fields

Name Value Description
Undefined 0

See D3D_PRIMITIVE_TOPOLOGY_UNDEFINED.

PointList 1

See D3D_PRIMITIVE_TOPOLOGY_POINTLIST.

LineList 2

See D3D_PRIMITIVE_TOPOLOGY_LINELIST.

LineStrip 3

See D3D_PRIMITIVE_TOPOLOGY_LINESTRIP.

TriangleList 4

See D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST.

TriangleStrip 5

See D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP.

Remarks

Refer to D3D_PRIMITIVE_TOPOLOGY for descriptions of these topologies.

Applies to