Enum Class VulkanCommandBufferResetFlag

java.lang.Object
java.lang.Enum<VulkanCommandBufferResetFlag>
com.io7m.jcoronado.api.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:
  • "VkCommandBufferResetFlagBits"
  • Enum Constant Details

    • VULKAN_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT

      public static final VulkanCommandBufferResetFlag 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

      public static VulkanCommandBufferResetFlag[] 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

      public static VulkanCommandBufferResetFlag valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public int value()
      Specified by:
      value in interface VulkanEnumBitmaskType
      Returns:
      The integer value of the constant