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(Microsoft.Foundation.LiftedContract, 65536)]
enum class DirectXPrimitiveTopology
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class DirectXPrimitiveTopology
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
public enum DirectXPrimitiveTopology
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum DirectXPrimitiveTopology
var value = Microsoft.Graphics.DirectX.DirectXPrimitiveTopology.undefined
Public Enum DirectXPrimitiveTopology
Inheritance
DirectXPrimitiveTopology
Attributes

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