D3D_PRIMITIVE Enumeration

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

Syntax

typedef enum D3D_PRIMITIVE {
  D3D_PRIMITIVE_UNDEFINED,
  D3D_PRIMITIVE_POINT,
  D3D_PRIMITIVE_LINE,
  D3D_PRIMITIVE_TRIANGLE,
  D3D_PRIMITIVE_LINE_ADJ,
  D3D_PRIMITIVE_TRIANGLE_ADJ,
  D3D_PRIMITIVE_1_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_2_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_3_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_4_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_5_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_6_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_7_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_8_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_9_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_10_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_11_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_12_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_13_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_14_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_15_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_16_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_17_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_18_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_19_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_20_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_21_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_22_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_23_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_24_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_25_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_26_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_27_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_28_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_29_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_30_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_31_CONTROL_POINT_PATCH,
  D3D_PRIMITIVE_32_CONTROL_POINT_PATCH,
  D3D10_PRIMITIVE_UNDEFINED,
  D3D10_PRIMITIVE_POINT,
  D3D10_PRIMITIVE_LINE,
  D3D10_PRIMITIVE_TRIANGLE,
  D3D10_PRIMITIVE_LINE_ADJ,
  D3D10_PRIMITIVE_TRIANGLE_ADJ,
  D3D11_PRIMITIVE_UNDEFINED,
  D3D11_PRIMITIVE_POINT,
  D3D11_PRIMITIVE_LINE,
  D3D11_PRIMITIVE_TRIANGLE,
  D3D11_PRIMITIVE_LINE_ADJ,
  D3D11_PRIMITIVE_TRIANGLE_ADJ,
  D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH,
  D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH
} ;

Constants

D3D_PRIMITIVE_UNDEFINED
D3D_PRIMITIVE_POINT
D3D_PRIMITIVE_LINE
D3D_PRIMITIVE_TRIANGLE
D3D_PRIMITIVE_LINE_ADJ
D3D_PRIMITIVE_TRIANGLE_ADJ
D3D_PRIMITIVE_1_CONTROL_POINT_PATCH
D3D_PRIMITIVE_2_CONTROL_POINT_PATCH
D3D_PRIMITIVE_3_CONTROL_POINT_PATCH
D3D_PRIMITIVE_4_CONTROL_POINT_PATCH
D3D_PRIMITIVE_5_CONTROL_POINT_PATCH
D3D_PRIMITIVE_6_CONTROL_POINT_PATCH
D3D_PRIMITIVE_7_CONTROL_POINT_PATCH
D3D_PRIMITIVE_8_CONTROL_POINT_PATCH
D3D_PRIMITIVE_9_CONTROL_POINT_PATCH
D3D_PRIMITIVE_10_CONTROL_POINT_PATCH
D3D_PRIMITIVE_11_CONTROL_POINT_PATCH
D3D_PRIMITIVE_12_CONTROL_POINT_PATCH
D3D_PRIMITIVE_13_CONTROL_POINT_PATCH
D3D_PRIMITIVE_14_CONTROL_POINT_PATCH
D3D_PRIMITIVE_15_CONTROL_POINT_PATCH
D3D_PRIMITIVE_16_CONTROL_POINT_PATCH
D3D_PRIMITIVE_17_CONTROL_POINT_PATCH
D3D_PRIMITIVE_18_CONTROL_POINT_PATCH
D3D_PRIMITIVE_19_CONTROL_POINT_PATCH
D3D_PRIMITIVE_20_CONTROL_POINT_PATCH
D3D_PRIMITIVE_21_CONTROL_POINT_PATCH
D3D_PRIMITIVE_22_CONTROL_POINT_PATCH
D3D_PRIMITIVE_23_CONTROL_POINT_PATCH
D3D_PRIMITIVE_24_CONTROL_POINT_PATCH
D3D_PRIMITIVE_25_CONTROL_POINT_PATCH
D3D_PRIMITIVE_26_CONTROL_POINT_PATCH
D3D_PRIMITIVE_27_CONTROL_POINT_PATCH
D3D_PRIMITIVE_28_CONTROL_POINT_PATCH
D3D_PRIMITIVE_29_CONTROL_POINT_PATCH
D3D_PRIMITIVE_30_CONTROL_POINT_PATCH
D3D_PRIMITIVE_31_CONTROL_POINT_PATCH
D3D_PRIMITIVE_32_CONTROL_POINT_PATCH
D3D10_PRIMITIVE_UNDEFINED
D3D10_PRIMITIVE_POINT
D3D10_PRIMITIVE_LINE
D3D10_PRIMITIVE_TRIANGLE
D3D10_PRIMITIVE_LINE_ADJ
D3D10_PRIMITIVE_TRIANGLE_ADJ
D3D11_PRIMITIVE_UNDEFINED The shader has not been initialized with an input primitive type.
D3D11_PRIMITIVE_POINT Interpret the input primitive as a point.
D3D11_PRIMITIVE_LINE Interpret the input primitive as a line.
D3D11_PRIMITIVE_TRIANGLE Interpret the input primitive as a triangle.
D3D11_PRIMITIVE_LINE_ADJ Interpret the input primitive as a line with adjacency data.
D3D11_PRIMITIVE_TRIANGLE_ADJ Interpret the input primitive as a triangle with adjacency data.
D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.
D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH Interpret the input primitive as a control point patch.

Remarks

The ID3D11ShaderReflection::GetGSInputPrimitive method returns a D3D11_PRIMITIVE-typed value.

The D3D11_PRIMITIVE enumeration is type defined in the D3D11.h header file as a D3D_PRIMITIVE enumeration, which is fully defined in the D3DCommon.h header file.

typedef D3D_PRIMITIVE D3D11_PRIMITIVE;

Requirements

   
Header d3dcommon.h

See Also

Core Enumerations