Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies how the pipeline interprets geometry or hull shader input primitives.
Syntax
typedef enum D3D12_PRIMITIVE_TOPOLOGY_TYPE {
D3D12_PRIMITIVE_TOPOLOGY_TYPE_UNDEFINED = 0,
D3D12_PRIMITIVE_TOPOLOGY_TYPE_POINT = 1,
D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE = 2,
D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE = 3,
D3D12_PRIMITIVE_TOPOLOGY_TYPE_PATCH = 4
} ;
Constants
D3D12_PRIMITIVE_TOPOLOGY_TYPE_UNDEFINEDValue: 0 The shader has not been initialized with an input primitive type. |
D3D12_PRIMITIVE_TOPOLOGY_TYPE_POINTValue: 1 Interpret the input primitive as a point. |
D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINEValue: 2 Interpret the input primitive as a line. |
D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLEValue: 3 Interpret the input primitive as a triangle. |
D3D12_PRIMITIVE_TOPOLOGY_TYPE_PATCHValue: 4 Interpret the input primitive as a control point patch. |
Remarks
This enum is used by the D3D12_GRAPHICS_PIPELINE_STATE_DESC structure.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12.h |