public static enum SoShaderObject.ShaderTypes extends java.lang.Enum<SoShaderObject.ShaderTypes> implements IntegerValuedEnum
Enum Constant and Description |
---|
FRAGMENT_SHADER
The shader is a fragment shader.
|
GEOMETRY_SHADER
The shader is a geometry shader.
|
TESSELLATION_CONTROL_SHADER
The shader is a tessellation control shader.
|
TESSELLATION_EVALUATION_SHADER
The shader is a tessellation evaluation shader.
|
VERTEX_SHADER
The shader is a vertex shader.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoShaderObject.ShaderTypes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoShaderObject.ShaderTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoShaderObject.ShaderTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoShaderObject.ShaderTypes VERTEX_SHADER
public static final SoShaderObject.ShaderTypes GEOMETRY_SHADER
public static final SoShaderObject.ShaderTypes FRAGMENT_SHADER
public static final SoShaderObject.ShaderTypes TESSELLATION_CONTROL_SHADER
public static final SoShaderObject.ShaderTypes TESSELLATION_EVALUATION_SHADER
public static SoShaderObject.ShaderTypes[] values()
for (SoShaderObject.ShaderTypes c : SoShaderObject.ShaderTypes.values()) System.out.println(c);
public static SoShaderObject.ShaderTypes 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 SoShaderObject.ShaderTypes 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