namespace Brutal.VulkanApi { /// /// VkDescriptorSetVariableDescriptorCountAllocateInfo - Structure specifying additional allocation parameters for descriptor sets /// /// /// /// If the pNext chain of a VkDescriptorSetAllocateInfo structure /// includes a VkDescriptorSetVariableDescriptorCountAllocateInfo /// structure, then that structure includes an array of descriptor counts for /// variable-sized descriptor bindings, one for each descriptor set being /// allocated. /// /// /// The VkDescriptorSetVariableDescriptorCountAllocateInfo structure is /// defined as: /// /// /// // Provided by VK_VERSION_1_2 /// typedef struct VkDescriptorSetVariableDescriptorCountAllocateInfo { /// VkStructureType sType; /// const void* pNext; /// uint32_t descriptorSetCount; /// const uint32_t* pDescriptorCounts; /// } VkDescriptorSetVariableDescriptorCountAllocateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkDescriptorSetVariableDescriptorCountAllocateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DescriptorSetVariableDescriptorCountAllocateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DescriptorSetCount is zero or the number of elements in pDescriptorCounts. /// [FieldOffset(16)] public int DescriptorSetCount; /// /// DescriptorCounts is a pointer to an array of descriptor counts, with each member specifying the number of descriptors in a variable-sized descriptor binding in the corresponding descriptor set being allocated. /// [FieldOffset(24)] public int* DescriptorCounts; } }