com.metsci.glimpse.gl.shader
Enum ShaderArgType
java.lang.Object
java.lang.Enum<ShaderArgType>
com.metsci.glimpse.gl.shader.ShaderArgType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ShaderArgType>
public enum ShaderArgType
- extends java.lang.Enum<ShaderArgType>
Method Summary |
static ShaderArgType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ShaderArgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
FLOAT
public static final ShaderArgType FLOAT
INT
public static final ShaderArgType INT
BOOLEAN
public static final ShaderArgType BOOLEAN
VEC2
public static final ShaderArgType VEC2
VEC3
public static final ShaderArgType VEC3
VEC4
public static final ShaderArgType VEC4
BVEC2
public static final ShaderArgType BVEC2
BVEC3
public static final ShaderArgType BVEC3
BVEC4
public static final ShaderArgType BVEC4
IVEC2
public static final ShaderArgType IVEC2
IVEC3
public static final ShaderArgType IVEC3
IVEC4
public static final ShaderArgType IVEC4
MAT2
public static final ShaderArgType MAT2
MAT3
public static final ShaderArgType MAT3
MAT4
public static final ShaderArgType MAT4
SAMPLER_1D
public static final ShaderArgType SAMPLER_1D
ISAMPLER_1D
public static final ShaderArgType ISAMPLER_1D
USAMPLER_1D
public static final ShaderArgType USAMPLER_1D
SAMPLER_2D
public static final ShaderArgType SAMPLER_2D
ISAMPLER_2D
public static final ShaderArgType ISAMPLER_2D
USAMPLER_2D
public static final ShaderArgType USAMPLER_2D
SAMPLER_CUBE
public static final ShaderArgType SAMPLER_CUBE
values
public static ShaderArgType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ShaderArgType c : ShaderArgType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ShaderArgType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
Copyright © 2012 Metron, Inc.. All Rights Reserved.