PRIMITIVE_TOPOLOGY enumeration
An enum used to indicate the topology of a mesh. See MeshDataVertCallback.
Syntax
typedef enum PRIMITIVE_TOPOLOGY { PRIMITIVE_TOPOLOGY_UNDEFINED = 0, PRIMITIVE_TOPOLOGY_POINTLIST = 1, PRIMITIVE_TOPOLOGY_LINELIST = 2, PRIMITIVE_TOPOLOGY_LINESTRIP = 3, PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4, PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5, PRIMITIVE_TOPOLOGY_TRIANGLEFAN = 6, PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10, PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11, PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12, PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13, PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33, PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34, PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35, PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36, PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37, PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38, PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39, PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40, PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41, PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42, PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43, PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44, PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45, PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46, PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47, PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48, PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49, PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50, PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51, PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52, PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53, PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54, PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55, PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56, PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57, PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58, PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59, PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60, PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61, PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62, PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63, PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64 } PRIMITIVE_TOPOLOGY;
Constants
- PRIMITIVE_TOPOLOGY_UNDEFINED
-
The topology of the mesh is undefined.
- PRIMITIVE_TOPOLOGY_POINTLIST
-
The topology of the mesh is a point list.
- PRIMITIVE_TOPOLOGY_LINELIST
-
The topology of the mesh is a line list.
- PRIMITIVE_TOPOLOGY_LINESTRIP
-
The topology of the mesh is a line strip.
- PRIMITIVE_TOPOLOGY_TRIANGLELIST
-
The topology of the mesh is a triangle list.
- PRIMITIVE_TOPOLOGY_TRIANGLESTRIP
-
The topology of the mesh is a triangle strip.
- PRIMITIVE_TOPOLOGY_TRIANGLEFAN
-
The topology of the mesh is a triangle fan.
- PRIMITIVE_TOPOLOGY_LINELIST_ADJ
-
The topology of the mesh is a line list with adjacency.
- PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ
-
The topology of the mesh is a line strip with adjacency.
- PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ
-
The topology of the mesh is a triangle list with adjacency.
- PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ
-
The topology of the mesh is a triangle strip with adjacency.
- PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 1 control point.
- PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 2 control points.
- PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 3 control points.
- PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 4 control points.
- PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 5 control points.
- PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 6 control points.
- PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 7 control points.
- PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 8 control points.
- PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 9 control points.
- PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 10 control points.
- PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 11 control points.
- PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 12 control points.
- PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 13 control points.
- PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 14 control points.
- PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 15 control points.
- PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 16 control points.
- PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 17 control points.
- PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 18 control points.
- PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 19 control points.
- PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 20 control points.
- PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 21 control points.
- PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 22 control points.
- PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 23 control points.
- PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 24 control points.
- PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 25 control points.
- PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 26 control points.
- PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 27 control points.
- PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 28 control points.
- PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 29 control points.
- PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 30 control points.
- PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 31 control points.
- PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST
-
The topology of the mesh is a patch list with 32 control points.
Requirements
|
Header |
|
|---|