public static enum SoUniformShaderParameter.ShaderTypes extends java.lang.Enum<SoUniformShaderParameter.ShaderTypes> implements IntegerValuedEnum
| Enum Constant and Description |
|---|
FRAGMENT
Deprecated.
Parameters of the fragment shader will be modified by this node when the shader source type is ARB/CG_PROGRAM.
|
VERTEX
Deprecated.
Parameters of the vertex shader will be modified by this node when the shader source type is ARB/CG_PROGRAM.
|
| Modifier and Type | Method and Description |
|---|---|
static SoUniformShaderParameter.ShaderTypes |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Deprecated.
Returns the integer value of the enum constant.
|
static SoUniformShaderParameter.ShaderTypes |
valueOf(int val)
Deprecated.
Returns the enum constant of this type with the specified integer value
|
static SoUniformShaderParameter.ShaderTypes |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static SoUniformShaderParameter.ShaderTypes[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoUniformShaderParameter.ShaderTypes VERTEX
public static final SoUniformShaderParameter.ShaderTypes FRAGMENT
public static SoUniformShaderParameter.ShaderTypes[] values()
for (SoUniformShaderParameter.ShaderTypes c : SoUniformShaderParameter.ShaderTypes.values()) System.out.println(c);
public static SoUniformShaderParameter.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 null@Deprecated public static SoUniformShaderParameter.ShaderTypes fromValue(int val)
valueOf(int) instead.public static SoUniformShaderParameter.ShaderTypes valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com