- java.lang.Object
-
- java.lang.Enum<VulkanCommandBufferUsageFlag>
-
- com.io7m.jcoronado.api.VulkanCommandBufferUsageFlag
-
- All Implemented Interfaces:
VulkanEnumBitmaskType
,java.io.Serializable
,java.lang.Comparable<VulkanCommandBufferUsageFlag>
public enum VulkanCommandBufferUsageFlag extends java.lang.Enum<VulkanCommandBufferUsageFlag> implements VulkanEnumBitmaskType
Bitmask specifying usage behavior for command buffer.- See Also:
- "VkCommandBufferUsageFlags"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
Specifies that each recording of the command buffer will only be submitted once, and the command buffer will be reset and recorded again between each submission.VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
Specifies that a secondary command buffer is considered to be entirely inside a render pass.VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT
Specifies that a command buffer can be resubmitted to a queue while it is in the pending state, and recorded into multiple primary command buffers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static VulkanCommandBufferUsageFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VulkanCommandBufferUsageFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
public static final VulkanCommandBufferUsageFlag VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
Specifies that each recording of the command buffer will only be submitted once, and the command buffer will be reset and recorded again between each submission.
-
VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
public static final VulkanCommandBufferUsageFlag VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
Specifies that a secondary command buffer is considered to be entirely inside a render pass. If this is a primary command buffer, then this bit is ignored.
-
VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT
public static final VulkanCommandBufferUsageFlag VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT
Specifies that a command buffer can be resubmitted to a queue while it is in the pending state, and recorded into multiple primary command buffers.
-
-
Method Detail
-
values
public static VulkanCommandBufferUsageFlag[] 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 (VulkanCommandBufferUsageFlag c : VulkanCommandBufferUsageFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulkanCommandBufferUsageFlag 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
-
-