public static enum SoShaderProgram.GeometryInputTypes extends java.lang.Enum<SoShaderProgram.GeometryInputTypes> implements IntegerValuedEnum
geometryInputType
.Enum Constant and Description |
---|
LINES_INPUT
The input geometry should be interpreted as lines.
|
POINTS_INPUT
The input geometry should be interpreted as points.
|
TRIANGLES_INPUT
The input geometry should be interpreted as triangles.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoShaderProgram.GeometryInputTypes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoShaderProgram.GeometryInputTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoShaderProgram.GeometryInputTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoShaderProgram.GeometryInputTypes POINTS_INPUT
SoPointSet
and SoIndexedPointSet
nodes. There is only a single vertex available for each geometry shader invocation.public static final SoShaderProgram.GeometryInputTypes LINES_INPUT
SoLineSet
or 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.public static final SoShaderProgram.GeometryInputTypes TRIANGLES_INPUT
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.public static SoShaderProgram.GeometryInputTypes[] values()
for (SoShaderProgram.GeometryInputTypes c : SoShaderProgram.GeometryInputTypes.values()) System.out.println(c);
public static SoShaderProgram.GeometryInputTypes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoShaderProgram.GeometryInputTypes valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com