D3D12_PRIMITIVE_TOPOLOGY_TYPE Enumeration

Specifies how the pipeline interprets geometry or hull shader input primitives.

Syntax

typedef enum D3D12_PRIMITIVE_TOPOLOGY_TYPE {
  D3D12_PRIMITIVE_TOPOLOGY_TYPE_UNDEFINED,
  D3D12_PRIMITIVE_TOPOLOGY_TYPE_POINT,
  D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE,
  D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
  D3D12_PRIMITIVE_TOPOLOGY_TYPE_PATCH
} ;

Constants

D3D12_PRIMITIVE_TOPOLOGY_TYPE_UNDEFINED The shader has not been initialized with an input primitive type.
D3D12_PRIMITIVE_TOPOLOGY_TYPE_POINT Interpret the input primitive as a point.
D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE Interpret the input primitive as a line.
D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE Interpret the input primitive as a triangle.
D3D12_PRIMITIVE_TOPOLOGY_TYPE_PATCH Interpret the input primitive as a control point patch.

Remarks

This enum is used by the D3D12_GRAPHICS_PIPELINE_STATE_DESC structure.

Requirements

   
Header d3d12.h

See Also

Core Enumerations