Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DescriptorPoolCreateInfo"/> structure.
 /// </summary>
 /// <param name="maxSets">
 /// The maximum number of descriptor sets that can be allocated from the pool.
 /// </param>
 /// <param name="poolSizes">
 /// Structures, each containing a descriptor type and number of descriptors of that type to
 /// be allocated in the pool.
 /// </param>
 /// <param name="flags">Specifies certain supported operations on the pool.</param>
 public DescriptorPoolCreateInfo(
     int maxSets,
     DescriptorPoolSize[] poolSizes,
     DescriptorPoolCreateFlags flags = 0)
 {
     MaxSets   = maxSets;
     PoolSizes = poolSizes;
     Flags     = flags;
 }
Esempio n. 2
0
 public DescriptorPoolCreateInfo
 (
     StructureType sType             = StructureType.DescriptorPoolCreateInfo,
     void *pNext                     = default,
     DescriptorPoolCreateFlags flags = default,
     uint maxSets                    = default,
     uint poolSizeCount              = default,
     DescriptorPoolSize *pPoolSizes  = default
 )
 {
     SType         = sType;
     PNext         = pNext;
     Flags         = flags;
     MaxSets       = maxSets;
     PoolSizeCount = poolSizeCount;
     PPoolSizes    = pPoolSizes;
 }