DirectXPrimitiveTopology Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
Undefined | 0 | |
PointList | 1 | |
LineList | 2 | |
LineStrip | 3 | |
TriangleList | 4 | |
TriangleStrip | 5 |
Remarks
Refer to D3D_PRIMITIVE_TOPOLOGY for descriptions of these topologies.