namespace Brutal.VulkanApi { /// /// VkCommandBufferAllocateInfo - Structure specifying the allocation parameters for command buffer object /// /// /// /// The VkCommandBufferAllocateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkCommandBufferAllocateInfo { /// VkStructureType sType; /// const void* pNext; /// VkCommandPool commandPool; /// VkCommandBufferLevel level; /// uint32_t commandBufferCount; /// } VkCommandBufferAllocateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkCommandBufferAllocateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.CommandBufferAllocateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// CommandPool is the command pool from which the command buffers are allocated. /// [FieldOffset(16)] public VkCommandPool CommandPool; /// /// Level is a VkCommandBufferLevel value specifying the command buffer level. /// [FieldOffset(24)] public VkCommandBufferLevel Level; /// /// CommandBufferCount is the number of command buffers to allocate from the pool. /// [FieldOffset(28)] internal int CommandBufferCount; } }