Enum Class VulkanCommandBufferResetFlag
- All Implemented Interfaces:
VulkanEnumBitmaskType,Serializable,Comparable<VulkanCommandBufferResetFlag>,Constable
public enum VulkanCommandBufferResetFlag
extends Enum<VulkanCommandBufferResetFlag>
implements VulkanEnumBitmaskType
Bitmask specifying usage behavior for command buffer resets.
- 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 that most or all memory resources currently owned by the command buffer should be returned to the parent command pool. -
Method Summary
Modifier and TypeMethodDescriptionintvalue()static VulkanCommandBufferResetFlagReturns the enum constant of this class with the specified name.static VulkanCommandBufferResetFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VULKAN_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT
Specifies that most or all memory resources currently owned by the command buffer should be returned to the parent command pool. If this flag is not set, then the command buffer may hold onto memory resources and reuse them when recording commands. commandBuffer is moved to the initial state.
-
-
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
-