- java.lang.Object
-
- java.lang.Enum<VulkanImageAspectFlag>
-
- com.io7m.jcoronado.api.VulkanImageAspectFlag
-
- All Implemented Interfaces:
VulkanEnumBitmaskType
,java.io.Serializable
,java.lang.Comparable<VulkanImageAspectFlag>
public enum VulkanImageAspectFlag extends java.lang.Enum<VulkanImageAspectFlag> implements VulkanEnumBitmaskType
Bitmask specifying which aspects of an image are included in a view.- See Also:
- "VkImageAspectFlagBits"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VK_IMAGE_ASPECT_COLOR_BIT
Specifies the color aspectVK_IMAGE_ASPECT_DEPTH_BIT
Specifies the depth aspectVK_IMAGE_ASPECT_METADATA_BIT
Specifies the metadata aspect, used for sparse sparse resource operationsVK_IMAGE_ASPECT_PLANE_0_BIT
Specifies plane 0VK_IMAGE_ASPECT_PLANE_1_BIT
Specifies plane 1VK_IMAGE_ASPECT_PLANE_2_BIT
Specifies plane 2VK_IMAGE_ASPECT_STENCIL_BIT
Specifies the stencil aspect
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static VulkanImageAspectFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VulkanImageAspectFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VK_IMAGE_ASPECT_COLOR_BIT
public static final VulkanImageAspectFlag VK_IMAGE_ASPECT_COLOR_BIT
Specifies the color aspect
-
VK_IMAGE_ASPECT_DEPTH_BIT
public static final VulkanImageAspectFlag VK_IMAGE_ASPECT_DEPTH_BIT
Specifies the depth aspect
-
VK_IMAGE_ASPECT_STENCIL_BIT
public static final VulkanImageAspectFlag VK_IMAGE_ASPECT_STENCIL_BIT
Specifies the stencil aspect
-
VK_IMAGE_ASPECT_METADATA_BIT
public static final VulkanImageAspectFlag VK_IMAGE_ASPECT_METADATA_BIT
Specifies the metadata aspect, used for sparse sparse resource operations
-
VK_IMAGE_ASPECT_PLANE_0_BIT
public static final VulkanImageAspectFlag VK_IMAGE_ASPECT_PLANE_0_BIT
Specifies plane 0
-
VK_IMAGE_ASPECT_PLANE_1_BIT
public static final VulkanImageAspectFlag VK_IMAGE_ASPECT_PLANE_1_BIT
Specifies plane 1
-
VK_IMAGE_ASPECT_PLANE_2_BIT
public static final VulkanImageAspectFlag VK_IMAGE_ASPECT_PLANE_2_BIT
Specifies plane 2
-
-
Method Detail
-
values
public static VulkanImageAspectFlag[] 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 (VulkanImageAspectFlag c : VulkanImageAspectFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulkanImageAspectFlag 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
-
-