Enum Class TextureType

java.lang.Object
java.lang.Enum<TextureType>
com.gaia3d.basic.types.TextureType
All Implemented Interfaces:
Serializable, Comparable<TextureType>, Constable

public enum TextureType extends Enum<TextureType> implements Serializable
Enum for the different types of textures that can be used in the application. Each texture has a corresponding extension. The extension is used to determine the type of the file.
  • Enum Constant Details

    • NONE

      public static final TextureType NONE
    • DIFFUSE

      public static final TextureType DIFFUSE
    • SPECULAR

      public static final TextureType SPECULAR
    • AMBIENT

      public static final TextureType AMBIENT
    • EMISSIVE

      public static final TextureType EMISSIVE
    • HEIGHT

      public static final TextureType HEIGHT
    • NORMALS

      public static final TextureType NORMALS
    • SHININESS

      public static final TextureType SHININESS
    • OPACITY

      public static final TextureType OPACITY
    • DISPLACEMENT

      public static final TextureType DISPLACEMENT
    • LIGHTMAP

      public static final TextureType LIGHTMAP
    • REFLECTION

      public static final TextureType REFLECTION
    • BASE_COLOR

      public static final TextureType BASE_COLOR
    • NORMAL_CAMERA

      public static final TextureType NORMAL_CAMERA
    • EMISSION_COLOR

      public static final TextureType EMISSION_COLOR
    • METALNESS

      public static final TextureType METALNESS
    • DIFFUSE_ROUGHNESS

      public static final TextureType DIFFUSE_ROUGHNESS
    • AMBIENT_OCCLUSION

      public static final TextureType AMBIENT_OCCLUSION
    • UNKNOWN

      public static final TextureType UNKNOWN
  • Method Details

    • values

      public static TextureType[] 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

      public static TextureType 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
    • fromValue

      public static TextureType fromValue(byte value)