Click or drag to resize
SoShaderProgramGeometryInputTypes Enumeration

Geometry input type.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public enum GeometryInputTypes
Members
  Member nameValueDescription
POINTS_INPUT0

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_INPUT1

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_INPUT4

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.

Remarks
See Also