D3D_PRIMITIVE-Enumeration (d3dcommon.h)

Gibt an, wie die Pipeline Geometrie- oder Hullshader-Eingabegrundtypen interpretiert.

Hinweis

Für die Programmierung mit Direct3D 10 verfügt diese API über einen Typalias D3D10_ , der anstelle von D3D_beginnt. Diese Direct3D 10-Typaliase sind in d3d10.h, d3d10misc.hund d3d10shader.hdefiniert.

Syntax

typedef enum D3D_PRIMITIVE {
  D3D_PRIMITIVE_UNDEFINED = 0,
  D3D_PRIMITIVE_POINT = 1,
  D3D_PRIMITIVE_LINE = 2,
  D3D_PRIMITIVE_TRIANGLE = 3,
  D3D_PRIMITIVE_LINE_ADJ = 6,
  D3D_PRIMITIVE_TRIANGLE_ADJ = 7,
  D3D_PRIMITIVE_1_CONTROL_POINT_PATCH = 8,
  D3D_PRIMITIVE_2_CONTROL_POINT_PATCH = 9,
  D3D_PRIMITIVE_3_CONTROL_POINT_PATCH = 10,
  D3D_PRIMITIVE_4_CONTROL_POINT_PATCH = 11,
  D3D_PRIMITIVE_5_CONTROL_POINT_PATCH = 12,
  D3D_PRIMITIVE_6_CONTROL_POINT_PATCH = 13,
  D3D_PRIMITIVE_7_CONTROL_POINT_PATCH = 14,
  D3D_PRIMITIVE_8_CONTROL_POINT_PATCH = 15,
  D3D_PRIMITIVE_9_CONTROL_POINT_PATCH = 16,
  D3D_PRIMITIVE_10_CONTROL_POINT_PATCH = 17,
  D3D_PRIMITIVE_11_CONTROL_POINT_PATCH = 18,
  D3D_PRIMITIVE_12_CONTROL_POINT_PATCH = 19,
  D3D_PRIMITIVE_13_CONTROL_POINT_PATCH = 20,
  D3D_PRIMITIVE_14_CONTROL_POINT_PATCH = 21,
  D3D_PRIMITIVE_15_CONTROL_POINT_PATCH = 22,
  D3D_PRIMITIVE_16_CONTROL_POINT_PATCH = 23,
  D3D_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
  D3D_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
  D3D_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
  D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 27,
  D3D_PRIMITIVE_21_CONTROL_POINT_PATCH = 28,
  D3D_PRIMITIVE_22_CONTROL_POINT_PATCH = 29,
  D3D_PRIMITIVE_23_CONTROL_POINT_PATCH = 30,
  D3D_PRIMITIVE_24_CONTROL_POINT_PATCH = 31,
  D3D_PRIMITIVE_25_CONTROL_POINT_PATCH = 32,
  D3D_PRIMITIVE_26_CONTROL_POINT_PATCH = 33,
  D3D_PRIMITIVE_27_CONTROL_POINT_PATCH = 34,
  D3D_PRIMITIVE_28_CONTROL_POINT_PATCH = 35,
  D3D_PRIMITIVE_29_CONTROL_POINT_PATCH = 36,
  D3D_PRIMITIVE_30_CONTROL_POINT_PATCH = 37,
  D3D_PRIMITIVE_31_CONTROL_POINT_PATCH = 38,
  D3D_PRIMITIVE_32_CONTROL_POINT_PATCH = 39,
  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
} ;

Konstanten

 
D3D_PRIMITIVE_UNDEFINED
Wert: 0
D3D_PRIMITIVE_POINT
Wert: 1
D3D_PRIMITIVE_LINE
Wert: 2
D3D_PRIMITIVE_TRIANGLE
Wert: 3
D3D_PRIMITIVE_LINE_ADJ
Wert: 6
D3D_PRIMITIVE_TRIANGLE_ADJ
Wert: 7
D3D_PRIMITIVE_1_CONTROL_POINT_PATCH
Wert: 8
D3D_PRIMITIVE_2_CONTROL_POINT_PATCH
Wert: 9
D3D_PRIMITIVE_3_CONTROL_POINT_PATCH
Wert: 10
D3D_PRIMITIVE_4_CONTROL_POINT_PATCH
Wert: 11
D3D_PRIMITIVE_5_CONTROL_POINT_PATCH
Wert: 12
D3D_PRIMITIVE_6_CONTROL_POINT_PATCH
Wert: 13
D3D_PRIMITIVE_7_CONTROL_POINT_PATCH
Wert: 14
D3D_PRIMITIVE_8_CONTROL_POINT_PATCH
Wert: 15
D3D_PRIMITIVE_9_CONTROL_POINT_PATCH
Wert: 16
D3D_PRIMITIVE_10_CONTROL_POINT_PATCH
Wert: 17
D3D_PRIMITIVE_11_CONTROL_POINT_PATCH
Wert: 18
D3D_PRIMITIVE_12_CONTROL_POINT_PATCH
Wert: 19
D3D_PRIMITIVE_13_CONTROL_POINT_PATCH
Wert: 20
D3D_PRIMITIVE_14_CONTROL_POINT_PATCH
Wert: 21
D3D_PRIMITIVE_15_CONTROL_POINT_PATCH
Wert: 22
D3D_PRIMITIVE_16_CONTROL_POINT_PATCH
Wert: 23
D3D_PRIMITIVE_17_CONTROL_POINT_PATCH
Wert: 24
D3D_PRIMITIVE_18_CONTROL_POINT_PATCH
Wert: 25
D3D_PRIMITIVE_19_CONTROL_POINT_PATCH
Wert: 26
D3D_PRIMITIVE_20_CONTROL_POINT_PATCH
Wert: 27
D3D_PRIMITIVE_21_CONTROL_POINT_PATCH
Wert: 28
D3D_PRIMITIVE_22_CONTROL_POINT_PATCH
Wert: 29
D3D_PRIMITIVE_23_CONTROL_POINT_PATCH
Wert: 30
D3D_PRIMITIVE_24_CONTROL_POINT_PATCH
Wert: 31
D3D_PRIMITIVE_25_CONTROL_POINT_PATCH
Wert: 32
D3D_PRIMITIVE_26_CONTROL_POINT_PATCH
Wert: 33
D3D_PRIMITIVE_27_CONTROL_POINT_PATCH
Wert: 34
D3D_PRIMITIVE_28_CONTROL_POINT_PATCH
Wert: 35
D3D_PRIMITIVE_29_CONTROL_POINT_PATCH
Wert: 36
D3D_PRIMITIVE_30_CONTROL_POINT_PATCH
Wert: 37
D3D_PRIMITIVE_31_CONTROL_POINT_PATCH
Wert: 38
D3D_PRIMITIVE_32_CONTROL_POINT_PATCH
Wert: 39
D3D10_PRIMITIVE_UNDEFINED
D3D10_PRIMITIVE_POINT
D3D10_PRIMITIVE_LINE
D3D10_PRIMITIVE_TRIANGLE
D3D10_PRIMITIVE_LINE_ADJ
D3D10_PRIMITIVE_TRIANGLE_ADJ
D3D11_PRIMITIVE_UNDEFINED
Der Shader wurde nicht mit einem primitiven Eingabetyp initialisiert.
D3D11_PRIMITIVE_POINT
Interpretieren Sie den Eingabegrundtyp als Punkt.
D3D11_PRIMITIVE_LINE
Interpretieren Sie den Eingabegrundtyp als Zeile.
D3D11_PRIMITIVE_TRIANGLE
Interpretieren Sie den Eingabegrundtyp als Dreieck.
D3D11_PRIMITIVE_LINE_ADJ
Interpretieren Sie den Eingabegrundtyp als Zeile mit Adjacency-Daten.
D3D11_PRIMITIVE_TRIANGLE_ADJ
Interpretieren Sie den Eingabegrundtyp als Dreieck mit Adjacency-Daten.
D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.
D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH
Interpretieren Sie den Eingabegrundtyp als Kontrollpunktpatch.

Hinweise

Die ID3D11ShaderReflection::GetGSInputPrimitive-Methode gibt einen D3D11_PRIMITIVE typisierten Wert zurück.

Die D3D11_PRIMITIVE-Enumeration ist der Typ, der in der D3D11.h-Headerdatei als D3D_PRIMITIVE-Enumeration definiert ist, die vollständig in der D3DCommon.h-Headerdatei definiert ist.

typedef D3D_PRIMITIVE D3D11_PRIMITIVE;

Anforderungen

Anforderung Wert
Header d3dcommon.h

Weitere Informationen

Kernaufzählungen