namespace Brutal.VulkanApi { /// /// VkDescriptorSetAllocateInfo - Structure specifying the allocation parameters for descriptor sets /// /// /// /// The VkDescriptorSetAllocateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkDescriptorSetAllocateInfo { /// VkStructureType sType; /// const void* pNext; /// VkDescriptorPool descriptorPool; /// uint32_t descriptorSetCount; /// const VkDescriptorSetLayout* pSetLayouts; /// } VkDescriptorSetAllocateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkDescriptorSetAllocateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DescriptorSetAllocateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DescriptorPool is the pool which the sets will be allocated from. /// [FieldOffset(16)] public VkDescriptorPool DescriptorPool; /// /// DescriptorSetCount determines the number of descriptor sets to be allocated from the pool. /// [FieldOffset(24)] public int DescriptorSetCount; /// /// SetLayouts is a pointer to an array of descriptor set layouts, with each member specifying how the corresponding descriptor set is allocated. /// [FieldOffset(32)] public VkDescriptorSetLayout* SetLayouts; } }