Enum Class 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies an image with one sample per pixel.Specifies an image with 16 samples per pixel.Specifies an image with 2 samples per pixel.Specifies an image with 32 samples per pixel.Specifies an image with 4 samples per pixel.Specifies an image with 64 samples per pixel.Specifies an image with 8 samples per pixel. -
Method Summary
Modifier and TypeMethodDescriptionintvalue()static VulkanSampleCountFlagReturns the enum constant of this class with the specified name.static VulkanSampleCountFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VK_SAMPLE_COUNT_1_BIT
Specifies an image with one sample per pixel. -
VK_SAMPLE_COUNT_2_BIT
Specifies an image with 2 samples per pixel. -
VK_SAMPLE_COUNT_4_BIT
Specifies an image with 4 samples per pixel. -
VK_SAMPLE_COUNT_8_BIT
Specifies an image with 8 samples per pixel. -
VK_SAMPLE_COUNT_16_BIT
Specifies an image with 16 samples per pixel. -
VK_SAMPLE_COUNT_32_BIT
Specifies an image with 32 samples per pixel. -
VK_SAMPLE_COUNT_64_BIT
Specifies an image with 64 samples per pixel.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
value
public int value()- Specified by:
valuein interfaceVulkanEnumBitmaskType- Returns:
- The integer value of the constant
-