Enum Class VulkanFormatData

java.lang.Object
java.lang.Enum<VulkanFormatData>
com.io7m.jcoronado.api.VulkanFormatData
All Implemented Interfaces:
Serializable, Comparable<VulkanFormatData>, Constable

public enum VulkanFormatData extends Enum<VulkanFormatData>
The type of data specified by a format.
  • Enum Constant Details

    • FORMAT_DATA_OPAQUE

      public static final VulkanFormatData FORMAT_DATA_OPAQUE
      Opaque or unknown data.
    • FORMAT_DATA_FLOATING_POINT_SIGNED

      public static final VulkanFormatData FORMAT_DATA_FLOATING_POINT_SIGNED
      Components are signed floating-point values.
    • FORMAT_DATA_FLOATING_POINT_UNSIGNED

      public static final VulkanFormatData FORMAT_DATA_FLOATING_POINT_UNSIGNED
      Components are unsigned floating-point values.
    • FORMAT_DATA_INTEGER_SIGNED

      public static final VulkanFormatData FORMAT_DATA_INTEGER_SIGNED
      Components are signed integer values.
    • FORMAT_DATA_INTEGER_UNSIGNED

      public static final VulkanFormatData FORMAT_DATA_INTEGER_UNSIGNED
      Components are unsigned integer values.
    • FORMAT_DATA_NORMALIZED_FIXED_POINT_UNSIGNED

      public static final VulkanFormatData FORMAT_DATA_NORMALIZED_FIXED_POINT_UNSIGNED
      Components are unsigned normalized fixed-point values.
    • FORMAT_DATA_NORMALIZED_FIXED_POINT_SIGNED

      public static final VulkanFormatData FORMAT_DATA_NORMALIZED_FIXED_POINT_SIGNED
      Components are signed normalized fixed-point values.
    • FORMAT_DATA_SCALED_SIGNED

      public static final VulkanFormatData FORMAT_DATA_SCALED_SIGNED
      Components are signed scaled values.
    • FORMAT_DATA_SCALED_UNSIGNED

      public static final VulkanFormatData FORMAT_DATA_SCALED_UNSIGNED
      Components are unsigned scaled values.
  • Method Details

    • values

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