SoShaderProgramGeometryInputTypes Enumeration |
Geometry input type.
Namespace: OIV.Inventor.Nodes
Member name | Value | Description | |
---|---|---|---|
POINTS_INPUT | 0 | The input geometry should be interpreted as points. Geometry shaders that operate on points are valid only for the OIV.Inventor.Nodes.SoPointSet and OIV.Inventor.Nodes.SoIndexedPointSet nodes. There is only a single vertex available for each geometry shader invocation. | |
LINES_INPUT | 1 | The input geometry should be interpreted as lines. Geometry shaders that operate on line segments are valid only for the OIV.Inventor.Nodes.SoLineSet or OIV.Inventor.Nodes.SoIndexedLineSet nodes. There are two vertices available for each geometry shader invocation. The first vertex refers to the vertex at the beginning of the line segment and the second vertex refers to the vertex at the end of the line segment. | |
TRIANGLES_INPUT | 4 | The input geometry should be interpreted as triangles. Geometry shaders that operate on triangles are valid only for geometry nodes that generate triangles, for example, OIV.Inventor.Nodes.SoTriangleStripSet. There are three vertices available for each program invocation. The first, second and third vertices refer to attributes of the first, second and third vertex of the triangle, respectively. Default. |
Used with field OIV.Inventor.Nodes.SoShaderProgram.geometryInputType.