- java.lang.Object
-
- java.lang.Enum<VulkanAttachmentStoreOp>
-
- com.io7m.jcoronado.api.VulkanAttachmentStoreOp
-
- All Implemented Interfaces:
VulkanEnumIntegerType
,java.io.Serializable
,java.lang.Comparable<VulkanAttachmentStoreOp>
public enum VulkanAttachmentStoreOp extends java.lang.Enum<VulkanAttachmentStoreOp> implements VulkanEnumIntegerType
- See Also:
- "VkAttachmentStoreOp"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VK_ATTACHMENT_STORE_OP_DONT_CARE
VK_ATTACHMENT_STORE_OP_DONT_CARE specifies the contents within the render area are not needed after rendering, and may be discarded; the contents of the attachment will be undefined inside the render area.VK_ATTACHMENT_STORE_OP_STORE
VK_ATTACHMENT_STORE_OP_STORE specifies the contents generated during the render pass and within the render area are written to memory.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static VulkanAttachmentStoreOp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VulkanAttachmentStoreOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VK_ATTACHMENT_STORE_OP_STORE
public static final VulkanAttachmentStoreOp VK_ATTACHMENT_STORE_OP_STORE
VK_ATTACHMENT_STORE_OP_STORE specifies the contents generated during the render pass and within the render area are written to memory. For attachments with a depth/stencil format, this uses the access type VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT. For attachments with a color format, this uses the access type VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT.
-
VK_ATTACHMENT_STORE_OP_DONT_CARE
public static final VulkanAttachmentStoreOp VK_ATTACHMENT_STORE_OP_DONT_CARE
VK_ATTACHMENT_STORE_OP_DONT_CARE specifies the contents within the render area are not needed after rendering, and may be discarded; the contents of the attachment will be undefined inside the render area. For attachments with a depth/stencil format, this uses the access type VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT. For attachments with a color format, this uses the access type VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT.
-
-
Method Detail
-
values
public static VulkanAttachmentStoreOp[] 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 (VulkanAttachmentStoreOp c : VulkanAttachmentStoreOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulkanAttachmentStoreOp 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 interfaceVulkanEnumIntegerType
- Returns:
- The integer value of the constant
-
-