Enum Class VulkanCommandBufferUsageFlag
- All Implemented Interfaces:
VulkanEnumBitmaskType, Serializable, Comparable<VulkanCommandBufferUsageFlag>, Constable
public enum VulkanCommandBufferUsageFlag
extends Enum<VulkanCommandBufferUsageFlag>
implements VulkanEnumBitmaskType
Bitmask specifying usage behavior for command buffer.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies 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.Specifies that a secondary command buffer is considered to be entirely inside a render pass.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
Modifier and TypeMethodDescriptionintvalue()static VulkanCommandBufferUsageFlagReturns the enum constant of this class with the specified name.static VulkanCommandBufferUsageFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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. If this is a primary command buffer, then this bit is ignored. -
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 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
-