Enum Class Image.Format

java.lang.Object
java.lang.Enum<Image.Format>
com.jme3.texture.Image.Format
All Implemented Interfaces:
Serializable, Comparable<Image.Format>, Constable
Enclosing class:
Image

public static enum Image.Format extends Enum<Image.Format>
  • Enum Constant Details

  • Method Details

    • values

      public static Image.Format[] 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 Image.Format 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
    • getBitsPerPixel

      public int getBitsPerPixel()
      Returns:
      bits per pixel.
    • isDepthFormat

      public boolean isDepthFormat()
      Returns:
      True if this format is a depth format, false otherwise.
    • isCompressed

      public boolean isCompressed()
      Returns:
      True if this is a compressed image format, false if uncompressed.
    • isFloatingPont

      public boolean isFloatingPont()
      Returns:
      True if this image format is in floating point, false if it is an integer format.