public enum ShaderArgType extends Enum<ShaderArgType>
Enum Constant and Description |
---|
BOOLEAN |
BVEC2 |
BVEC3 |
BVEC4 |
FLOAT |
INT |
ISAMPLER_1D |
ISAMPLER_2D |
IVEC2 |
IVEC3 |
IVEC4 |
MAT2 |
MAT3 |
MAT4 |
SAMPLER_1D |
SAMPLER_1D_ARRAY |
SAMPLER_2D |
SAMPLER_2D_ARRAY |
SAMPLER_CUBE |
USAMPLER_1D |
USAMPLER_2D |
VEC2 |
VEC3 |
VEC4 |
Modifier and Type | Method and Description |
---|---|
static ShaderArgType |
valueOf(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.
|
public static final ShaderArgType FLOAT
public static final ShaderArgType INT
public static final ShaderArgType BOOLEAN
public static final ShaderArgType VEC2
public static final ShaderArgType VEC3
public static final ShaderArgType VEC4
public static final ShaderArgType BVEC2
public static final ShaderArgType BVEC3
public static final ShaderArgType BVEC4
public static final ShaderArgType IVEC2
public static final ShaderArgType IVEC3
public static final ShaderArgType IVEC4
public static final ShaderArgType MAT2
public static final ShaderArgType MAT3
public static final ShaderArgType MAT4
public static final ShaderArgType SAMPLER_1D
public static final ShaderArgType ISAMPLER_1D
public static final ShaderArgType USAMPLER_1D
public static final ShaderArgType SAMPLER_2D
public static final ShaderArgType ISAMPLER_2D
public static final ShaderArgType USAMPLER_2D
public static final ShaderArgType SAMPLER_CUBE
public static final ShaderArgType SAMPLER_1D_ARRAY
public static final ShaderArgType SAMPLER_2D_ARRAY
public static ShaderArgType[] values()
for (ShaderArgType c : ShaderArgType.values()) System.out.println(c);
public static ShaderArgType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Metron, Inc.. All rights reserved.