Enum Class VulkanFormatColorChannels
- All Implemented Interfaces:
Serializable,Comparable<VulkanFormatColorChannels>,Constable
The channels present in a color image.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn image with red, green, blue, and alpha channels.An image with red, green, blue, and alpha channels.An image with red, green, and blue channels.An image with red, green, blue, and alpha channels.An image with a single red channel.An image with red and green channels.An image with red, green, and blue channels.An image with red, green, blue, and alpha channels. -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanstatic VulkanFormatColorChannelsReturns the enum constant of this class with the specified name.static VulkanFormatColorChannels[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COLOR_CHANNELS_R
An image with a single red channel. -
COLOR_CHANNELS_RG
An image with red and green channels. -
COLOR_CHANNELS_RGB
An image with red, green, and blue channels. -
COLOR_CHANNELS_BGR
An image with red, green, and blue channels. -
COLOR_CHANNELS_RGBA
An image with red, green, blue, and alpha channels. -
COLOR_CHANNELS_ARGB
An image with red, green, blue, and alpha channels. -
COLOR_CHANNELS_ABGR
An image with red, green, blue, and alpha channels. -
COLOR_CHANNELS_BGRA
An image with red, green, blue, and alpha channels.
-
-
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
-
isSupersetOf
- Parameters:
other- The other channels- Returns:
trueif these channels are a superset ofother
-