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

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

Fields

LineList 2

See D3D_PRIMITIVE_TOPOLOGY_LINELIST.

LineStrip 3

See D3D_PRIMITIVE_TOPOLOGY_LINESTRIP.

PointList 1

See D3D_PRIMITIVE_TOPOLOGY_POINTLIST.

TriangleList 4

See D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST.

TriangleStrip 5

See D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP.

Undefined 0

See D3D_PRIMITIVE_TOPOLOGY_UNDEFINED.

Remarks

Refer to D3D_PRIMITIVE_TOPOLOGY for descriptions of these topologies.

Applies to