Пример #1
0
 public WriteDescriptorSet
 (
     StructureType sType               = StructureType.WriteDescriptorSet,
     void *pNext                       = default,
     DescriptorSet dstSet              = default,
     uint dstBinding                   = default,
     uint dstArrayElement              = default,
     uint descriptorCount              = default,
     DescriptorType descriptorType     = default,
     DescriptorImageInfo *pImageInfo   = default,
     DescriptorBufferInfo *pBufferInfo = default,
     BufferView *pTexelBufferView      = default
 )
 {
     SType            = sType;
     PNext            = pNext;
     DstSet           = dstSet;
     DstBinding       = dstBinding;
     DstArrayElement  = dstArrayElement;
     DescriptorCount  = descriptorCount;
     DescriptorType   = descriptorType;
     PImageInfo       = pImageInfo;
     PBufferInfo      = pBufferInfo;
     PTexelBufferView = pTexelBufferView;
 }
Пример #2
0
 public CopyDescriptorSet
 (
     StructureType sType  = StructureType.CopyDescriptorSet,
     void *pNext          = default,
     DescriptorSet srcSet = default,
     uint srcBinding      = default,
     uint srcArrayElement = default,
     DescriptorSet dstSet = default,
     uint dstBinding      = default,
     uint dstArrayElement = default,
     uint descriptorCount = default
 )
 {
     SType           = sType;
     PNext           = pNext;
     SrcSet          = srcSet;
     SrcBinding      = srcBinding;
     SrcArrayElement = srcArrayElement;
     DstSet          = dstSet;
     DstBinding      = dstBinding;
     DstArrayElement = dstArrayElement;
     DescriptorCount = descriptorCount;
 }