Enum Class VulkanSampleCountFlag

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

public enum VulkanSampleCountFlag extends Enum<VulkanSampleCountFlag> implements VulkanEnumBitmaskType
Bitmask specifying sample counts supported for an image used for storage operations.
See Also:
  • "VkSampleCountFlagBits"
  • Enum Constant Details

    • VK_SAMPLE_COUNT_1_BIT

      public static final VulkanSampleCountFlag VK_SAMPLE_COUNT_1_BIT
      Specifies an image with one sample per pixel.
    • VK_SAMPLE_COUNT_2_BIT

      public static final VulkanSampleCountFlag VK_SAMPLE_COUNT_2_BIT
      Specifies an image with 2 samples per pixel.
    • VK_SAMPLE_COUNT_4_BIT

      public static final VulkanSampleCountFlag VK_SAMPLE_COUNT_4_BIT
      Specifies an image with 4 samples per pixel.
    • VK_SAMPLE_COUNT_8_BIT

      public static final VulkanSampleCountFlag VK_SAMPLE_COUNT_8_BIT
      Specifies an image with 8 samples per pixel.
    • VK_SAMPLE_COUNT_16_BIT

      public static final VulkanSampleCountFlag VK_SAMPLE_COUNT_16_BIT
      Specifies an image with 16 samples per pixel.
    • VK_SAMPLE_COUNT_32_BIT

      public static final VulkanSampleCountFlag VK_SAMPLE_COUNT_32_BIT
      Specifies an image with 32 samples per pixel.
    • VK_SAMPLE_COUNT_64_BIT

      public static final VulkanSampleCountFlag VK_SAMPLE_COUNT_64_BIT
      Specifies an image with 64 samples per pixel.
  • Method Details

    • values

      public static VulkanSampleCountFlag[] 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 VulkanSampleCountFlag 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
    • value

      public int value()
      Specified by:
      value in interface VulkanEnumBitmaskType
      Returns:
      The integer value of the constant