public enum JCGLType extends Enum<JCGLType>
| Enum Constant and Description |
|---|
TYPE_BOOLEAN
GLSL boolean type.
|
TYPE_BOOLEAN_VECTOR_2
GLSL boolean vector type.
|
TYPE_BOOLEAN_VECTOR_3
GLSL boolean vector type.
|
TYPE_BOOLEAN_VECTOR_4
GLSL boolean vector type.
|
TYPE_FLOAT
GLSL floating-point type.
|
TYPE_FLOAT_MATRIX_2
GLSL 2x2 floating-point matrix type.
|
TYPE_FLOAT_MATRIX_2x3
GLSL 2x3 float matrix type.
|
TYPE_FLOAT_MATRIX_2x4
GLSL 2x4 float matrix type.
|
TYPE_FLOAT_MATRIX_3
GLSL 3x3 floating-point matrix type.
|
TYPE_FLOAT_MATRIX_3x2
GLSL 3x2 float matrix type.
|
TYPE_FLOAT_MATRIX_3x4
GLSL 3x4 float matrix type.
|
TYPE_FLOAT_MATRIX_4
GLSL 4x4 floating-point matrix type.
|
TYPE_FLOAT_MATRIX_4x2
GLSL 4x2 float matrix type.
|
TYPE_FLOAT_MATRIX_4x3
GLSL 4x3 float matrix type.
|
TYPE_FLOAT_VECTOR_2
GLSL floating-point vector type.
|
TYPE_FLOAT_VECTOR_3
GLSL floating-point vector type.
|
TYPE_FLOAT_VECTOR_4
GLSL floating-point vector type.
|
TYPE_INTEGER
GLSL integer type.
|
TYPE_INTEGER_VECTOR_2
GLSL integer vector type.
|
TYPE_INTEGER_VECTOR_3
GLSL integer vector type.
|
TYPE_INTEGER_VECTOR_4
GLSL integer vector type.
|
TYPE_SAMPLER_2D
GLSL 2D sampler type.
|
TYPE_SAMPLER_3D
GLSL 3D sampler type.
|
TYPE_SAMPLER_CUBE
GLSL cube sampler type.
|
TYPE_UNSIGNED_INTEGER
GLSL unsigned integer type.
|
TYPE_UNSIGNED_INTEGER_VECTOR_2
GLSL unsigned integer vector type.
|
TYPE_UNSIGNED_INTEGER_VECTOR_3
GLSL unsigned integer vector type.
|
TYPE_UNSIGNED_INTEGER_VECTOR_4
GLSL unsigned integer vector type.
|
| Modifier and Type | Method and Description |
|---|---|
static JCGLType |
fromName(String name) |
String |
getName() |
boolean |
isSamplerType() |
static JCGLType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLType TYPE_BOOLEAN
public static final JCGLType TYPE_BOOLEAN_VECTOR_2
public static final JCGLType TYPE_BOOLEAN_VECTOR_3
public static final JCGLType TYPE_BOOLEAN_VECTOR_4
public static final JCGLType TYPE_FLOAT
public static final JCGLType TYPE_FLOAT_MATRIX_2
public static final JCGLType TYPE_FLOAT_MATRIX_3
public static final JCGLType TYPE_FLOAT_MATRIX_4
public static final JCGLType TYPE_FLOAT_VECTOR_2
public static final JCGLType TYPE_FLOAT_VECTOR_3
public static final JCGLType TYPE_FLOAT_VECTOR_4
public static final JCGLType TYPE_INTEGER
public static final JCGLType TYPE_INTEGER_VECTOR_2
public static final JCGLType TYPE_INTEGER_VECTOR_3
public static final JCGLType TYPE_INTEGER_VECTOR_4
public static final JCGLType TYPE_SAMPLER_2D
public static final JCGLType TYPE_SAMPLER_3D
public static final JCGLType TYPE_SAMPLER_CUBE
public static final JCGLType TYPE_UNSIGNED_INTEGER
public static final JCGLType TYPE_UNSIGNED_INTEGER_VECTOR_2
public static final JCGLType TYPE_UNSIGNED_INTEGER_VECTOR_3
public static final JCGLType TYPE_UNSIGNED_INTEGER_VECTOR_4
public static final JCGLType TYPE_FLOAT_MATRIX_4x3
public static final JCGLType TYPE_FLOAT_MATRIX_4x2
public static final JCGLType TYPE_FLOAT_MATRIX_3x4
public static final JCGLType TYPE_FLOAT_MATRIX_3x2
public static final JCGLType TYPE_FLOAT_MATRIX_2x4
public static final JCGLType TYPE_FLOAT_MATRIX_2x3
public static JCGLType[] values()
for (JCGLType c : JCGLType.values()) System.out.println(c);
public static JCGLType 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 nullpublic static JCGLType fromName(String name) throws NoSuchElementException
name - The name of the type.NoSuchElementException - If the type is unknown.public String getName()
public boolean isSamplerType()
true if the current type is a sampler type.Copyright © 2016 <code@io7m.com> http://io7m.com