D3D12_PRIMITIVE_TOPOLOGY_TYPE enumeration (d3d12.h)
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_UNDEFINED Value: 0 The shader has not been initialized with an input primitive type. |
D3D12_PRIMITIVE_TOPOLOGY_TYPE_POINT Value: 1 Interpret the input primitive as a point. |
D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE Value: 2 Interpret the input primitive as a line. |
D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE Value: 3 Interpret the input primitive as a triangle. |
D3D12_PRIMITIVE_TOPOLOGY_TYPE_PATCH Value: 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 |