Enum Class VulkanColorComponentFlag
- All Implemented Interfaces:
VulkanEnumBitmaskType, Serializable, Comparable<VulkanColorComponentFlag>, Constable
public enum VulkanColorComponentFlag
extends Enum<VulkanColorComponentFlag>
implements VulkanEnumBitmaskType
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlphaGreenBlueRed -
Method Summary
Modifier and TypeMethodDescriptionintvalue()static VulkanColorComponentFlagReturns the enum constant of this class with the specified name.static VulkanColorComponentFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VK_COLOR_COMPONENT_A_BIT
Alpha -
VK_COLOR_COMPONENT_B_BIT
Green -
VK_COLOR_COMPONENT_G_BIT
Blue -
VK_COLOR_COMPONENT_R_BIT
Red
-
-
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
-