Enum Class VulkanImageAspectFlag
- All Implemented Interfaces:
VulkanEnumBitmaskType,Serializable,Comparable<VulkanImageAspectFlag>,Constable
public enum VulkanImageAspectFlag
extends Enum<VulkanImageAspectFlag>
implements VulkanEnumBitmaskType
Bitmask specifying which aspects of an image are included in a view.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the color aspectSpecifies the depth aspectSpecifies the metadata aspect, used for sparse sparse resource operationsSpecifies plane 0Specifies plane 1Specifies plane 2Specifies the stencil aspect -
Method Summary
Modifier and TypeMethodDescriptionintvalue()static VulkanImageAspectFlagReturns the enum constant of this class with the specified name.static VulkanImageAspectFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VK_IMAGE_ASPECT_COLOR_BIT
Specifies the color aspect -
VK_IMAGE_ASPECT_DEPTH_BIT
Specifies the depth aspect -
VK_IMAGE_ASPECT_STENCIL_BIT
Specifies the stencil aspect -
VK_IMAGE_ASPECT_METADATA_BIT
Specifies the metadata aspect, used for sparse sparse resource operations -
VK_IMAGE_ASPECT_PLANE_0_BIT
Specifies plane 0 -
VK_IMAGE_ASPECT_PLANE_1_BIT
Specifies plane 1 -
VK_IMAGE_ASPECT_PLANE_2_BIT
Specifies plane 2
-
-
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
-