Enum Class VarType

java.lang.Object
java.lang.Enum<VarType>
com.jme3.shader.VarType
All Implemented Interfaces:
Serializable, Comparable<VarType>, Constable

public enum VarType extends Enum<VarType>
  • Enum Constant Details Link icon

    • Float Link icon

      public static final VarType Float
    • Vector2 Link icon

      public static final VarType Vector2
    • Vector3 Link icon

      public static final VarType Vector3
    • Vector4 Link icon

      public static final VarType Vector4
    • IntArray Link icon

      public static final VarType IntArray
    • FloatArray Link icon

      public static final VarType FloatArray
    • Vector2Array Link icon

      public static final VarType Vector2Array
    • Vector3Array Link icon

      public static final VarType Vector3Array
    • Vector4Array Link icon

      public static final VarType Vector4Array
    • Int Link icon

      public static final VarType Int
    • Boolean Link icon

      public static final VarType Boolean
    • Matrix3 Link icon

      public static final VarType Matrix3
    • Matrix4 Link icon

      public static final VarType Matrix4
    • Matrix3Array Link icon

      public static final VarType Matrix3Array
    • Matrix4Array Link icon

      public static final VarType Matrix4Array
    • TextureBuffer Link icon

      public static final VarType TextureBuffer
    • Texture2D Link icon

      public static final VarType Texture2D
    • Texture3D Link icon

      public static final VarType Texture3D
    • TextureArray Link icon

      public static final VarType TextureArray
    • TextureCubeMap Link icon

      public static final VarType TextureCubeMap
    • Image2D Link icon

      public static final VarType Image2D
    • Image3D Link icon

      public static final VarType Image3D
    • UniformBufferObject Link icon

      public static final VarType UniformBufferObject
    • ShaderStorageBufferObject Link icon

      public static final VarType ShaderStorageBufferObject
  • Method Details Link icon

    • values Link icon

      public static VarType[] 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 Link icon

      public static VarType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isOfType Link icon

      public boolean isOfType(Object o)
      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 Link icon

      public Class<?>[] getJavaType()
      Get the java types mapped to this VarType
      Returns:
      an array of classes mapped to this VarType
    • isTextureType Link icon

      public boolean isTextureType()
    • isImageType Link icon

      public boolean isImageType()
    • usesMultiData Link icon

      public boolean usesMultiData()
    • getGlslType Link icon

      public String getGlslType()