namespace Brutal.VulkanApi { /// /// VkDescriptorPoolCreateInfo - Structure specifying parameters of a newly created descriptor pool /// /// /// /// Additional information about the pool is passed in a /// VkDescriptorPoolCreateInfo structure: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkDescriptorPoolCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkDescriptorPoolCreateFlags flags; /// uint32_t maxSets; /// uint32_t poolSizeCount; /// const VkDescriptorPoolSize* pPoolSizes; /// } VkDescriptorPoolCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkDescriptorPoolCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DescriptorPoolCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkDescriptorPoolCreateFlags specifying certain supported operations on the pool. /// [FieldOffset(16)] public VkDescriptorPoolCreateFlags Flags; /// /// MaxSets is the maximum number of descriptor sets that can be allocated from the pool. /// [FieldOffset(20)] public int MaxSets; /// /// PoolSizeCount is the number of elements in pPoolSizes. /// [FieldOffset(24)] public int PoolSizeCount; /// /// PoolSizes is a pointer to an array of VkDescriptorPoolSize structures, each containing a descriptor type and number of descriptors of that type to be allocated in the pool. /// [FieldOffset(32)] public VkDescriptorPoolSize* PoolSizes; } }