Enum Constant and Description |
---|
Boolean |
BufferObject |
Float |
FloatArray |
Int |
IntArray |
Matrix3 |
Matrix3Array |
Matrix4 |
Matrix4Array |
Texture2D |
Texture3D |
TextureArray |
TextureBuffer |
TextureCubeMap |
Vector2 |
Vector2Array |
Vector3 |
Vector3Array |
Vector4 |
Vector4Array |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGlslType() |
boolean |
isTextureType() |
boolean |
usesMultiData() |
static VarType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VarType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VarType Float
public static final VarType Vector2
public static final VarType Vector3
public static final VarType Vector4
public static final VarType IntArray
public static final VarType FloatArray
public static final VarType Vector2Array
public static final VarType Vector3Array
public static final VarType Vector4Array
public static final VarType Boolean
public static final VarType Matrix3
public static final VarType Matrix4
public static final VarType Matrix3Array
public static final VarType Matrix4Array
public static final VarType TextureBuffer
public static final VarType Texture2D
public static final VarType Texture3D
public static final VarType TextureArray
public static final VarType TextureCubeMap
public static final VarType Int
public static final VarType BufferObject
public static VarType[] values()
for (VarType c : VarType.values()) System.out.println(c);
public static VarType 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 nullpublic boolean isTextureType()
public boolean usesMultiData()
public java.lang.String getGlslType()