namespace Brutal.VulkanApi { /// /// VkCommandPoolCreateFlagBits - Bitmask specifying usage behavior for a command pool /// /// /// /// Bits which can be set in VkCommandPoolCreateInfo::flags, /// specifying usage behavior for a command pool, are: /// /// /// // Provided by VK_VERSION_1_0 /// typedef enum VkCommandPoolCreateFlagBits { /// VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = 0x00000001, /// VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = 0x00000002, /// // Provided by VK_VERSION_1_1 /// VK_COMMAND_POOL_CREATE_PROTECTED_BIT = 0x00000004, /// } VkCommandPoolCreateFlagBits; /// /// [Flags] public enum VkCommandPoolCreateFlags : int { /// No flags set. None = 0, /// /// TransientBit specifies that command buffers allocated from the pool will be short-lived, meaning that they will be reset or freed in a relatively short timeframe. This flag may: be used by the implementation to control memory allocation behavior within the pool. /// TransientBit = 0x00000001, /// /// ResetCommandBufferBit allows any command buffer allocated from a pool to be individually reset to the initial state^; either by calling vkResetCommandBuffer, or via the implicit reset when calling vkBeginCommandBuffer. If this flag is not set on a pool, then vkResetCommandBuffer must not be called for any command buffer allocated from that pool. /// ResetCommandBufferBit = 0x00000002, /// /// ProtectedBit /// ProtectedBit = 0x00000004, /// /// FlagBitsMaxEnum /// FlagBitsMaxEnum = 0x7FFFFFFF, } }