Package com.jme3.shader
Enum Class VarType
- All Implemented Interfaces:
Serializable
,Comparable<VarType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]
Get the java types mapped to this VarTypeboolean
Check if the passed object is of a type mapped to this VarTypeboolean
boolean
static VarType
Returns the enum constant of this class with the specified name.static VarType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Float
-
Vector2
-
Vector3
-
Vector4
-
IntArray
-
FloatArray
-
Vector2Array
-
Vector3Array
-
Vector4Array
-
Boolean
-
Matrix3
-
Matrix4
-
Matrix3Array
-
Matrix4Array
-
TextureBuffer
-
Texture2D
-
Texture3D
-
TextureArray
-
TextureCubeMap
-
Int
-
UniformBufferObject
-
ShaderStorageBufferObject
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isOfType
Check if the passed object is of a type mapped to this VarType- Parameters:
o
- Object to check- Returns:
- true if the object type is mapped to this VarType
-
getJavaType
Get the java types mapped to this VarType- Returns:
- an array of classes mapped to this VarType
-
isTextureType
public boolean isTextureType() -
usesMultiData
public boolean usesMultiData() -
getGlslType
-