public enum UniformTypes extends java.lang.Enum<UniformTypes> implements GLEnum
Enum Constant and Description |
---|
BOOL |
BOOL_VEC2 |
BOOL_VEC3 |
BOOL_VEC4 |
FLOAT_MAT2 |
FLOAT_MAT3 |
FLOAT_MAT4 |
FLOAT_VEC2 |
FLOAT_VEC3 |
FLOAT_VEC4 |
INT_VEC2 |
INT_VEC3 |
INT_VEC4 |
SAMPLER_2D |
SAMPLER_CUBE |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the enum's numerical value.
|
static UniformTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UniformTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UniformTypes FLOAT_VEC2
public static final UniformTypes FLOAT_VEC3
public static final UniformTypes FLOAT_VEC4
public static final UniformTypes INT_VEC2
public static final UniformTypes INT_VEC3
public static final UniformTypes INT_VEC4
public static final UniformTypes BOOL
public static final UniformTypes BOOL_VEC2
public static final UniformTypes BOOL_VEC3
public static final UniformTypes BOOL_VEC4
public static final UniformTypes FLOAT_MAT2
public static final UniformTypes FLOAT_MAT3
public static final UniformTypes FLOAT_MAT4
public static final UniformTypes SAMPLER_2D
public static final UniformTypes SAMPLER_CUBE
public static UniformTypes[] values()
for (UniformTypes c : UniformTypes.values()) System.out.println(c);
public static UniformTypes 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