namespace Brutal.VulkanApi { /// /// VkCommandBufferUsageFlagBits - Bitmask specifying usage behavior for command buffer /// /// /// /// Bits which can be set in VkCommandBufferBeginInfo::flags, /// specifying usage behavior for a command buffer, are: /// /// /// // Provided by VK_VERSION_1_0 /// typedef enum VkCommandBufferUsageFlagBits { /// VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT = 0x00000001, /// VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT = 0x00000002, /// VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT = 0x00000004, /// } VkCommandBufferUsageFlagBits; /// /// [Flags] public enum VkCommandBufferUsageFlags : int { /// No flags set. None = 0, /// /// OneTimeSubmitBit 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. /// OneTimeSubmitBit = 0x00000001, /// /// RenderPassContinueBit 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. /// RenderPassContinueBit = 0x00000002, /// /// SimultaneousUseBit specifies that a command buffer can be resubmitted to any queue of the same queue family while it is in the pending state, and recorded into multiple primary command buffers. /// SimultaneousUseBit = 0x00000004, /// /// FlagBitsMaxEnum /// FlagBitsMaxEnum = 0x7FFFFFFF, } }