Enum VulkanCommandBufferUsageFlag

    • Enum Constant Detail


        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.

        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.

        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())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null