- java.lang.Object
-
- java.lang.Enum<VulkanSampleCountFlag>
-
- com.io7m.jcoronado.api.VulkanSampleCountFlag
-
- All Implemented Interfaces:
VulkanEnumBitmaskType
,java.io.Serializable
,java.lang.Comparable<VulkanSampleCountFlag>
public enum VulkanSampleCountFlag extends java.lang.Enum<VulkanSampleCountFlag> implements VulkanEnumBitmaskType
Bitmask specifying sample counts supported for an image used for storage operations.- See Also:
- "VkSampleCountFlagBits"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VK_SAMPLE_COUNT_1_BIT
Specifies an image with one sample per pixel.VK_SAMPLE_COUNT_16_BIT
Specifies an image with 16 samples per pixel.VK_SAMPLE_COUNT_2_BIT
Specifies an image with 2 samples per pixel.VK_SAMPLE_COUNT_32_BIT
Specifies an image with 32 samples per pixel.VK_SAMPLE_COUNT_4_BIT
Specifies an image with 4 samples per pixel.VK_SAMPLE_COUNT_64_BIT
Specifies an image with 64 samples per pixel.VK_SAMPLE_COUNT_8_BIT
Specifies an image with 8 samples per pixel.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static VulkanSampleCountFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VulkanSampleCountFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static VulkanSampleCountFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VulkanSampleCountFlag c : VulkanSampleCountFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulkanSampleCountFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
- Specified by:
value
in interfaceVulkanEnumBitmaskType
- Returns:
- The integer value of the constant
-
-