Esempio n. 1
0
        public DescriptorSetAllocateInfo
        (
            StructureType?sType              = StructureType.DescriptorSetAllocateInfo,
            void *pNext                      = null,
            DescriptorPool?descriptorPool    = null,
            uint?descriptorSetCount          = null,
            DescriptorSetLayout *pSetLayouts = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

            if (pNext is not null)
            {
                PNext = pNext;
            }

            if (descriptorPool is not null)
            {
                DescriptorPool = descriptorPool.Value;
            }

            if (descriptorSetCount is not null)
            {
                DescriptorSetCount = descriptorSetCount.Value;
            }

            if (pSetLayouts is not null)
            {
                PSetLayouts = pSetLayouts;
            }
        }
Esempio n. 2
0
 public DescriptorSetAllocateInfo
 (
     StructureType sType              = StructureType.DescriptorSetAllocateInfo,
     void *pNext                      = default,
     DescriptorPool descriptorPool    = default,
     uint descriptorSetCount          = default,
     DescriptorSetLayout *pSetLayouts = default
 )
 {
     SType              = sType;
     PNext              = pNext;
     DescriptorPool     = descriptorPool;
     DescriptorSetCount = descriptorSetCount;
     PSetLayouts        = pSetLayouts;
 }
Esempio n. 3
0
        public PipelineLayoutCreateInfo
        (
            StructureType?sType = StructureType.PipelineLayoutCreateInfo,
            void *pNext         = null,
            uint?flags          = null,
            uint?setLayoutCount = null,
            DescriptorSetLayout *pSetLayouts       = null,
            uint?pushConstantRangeCount            = null,
            PushConstantRange *pPushConstantRanges = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

            if (pNext is not null)
            {
                PNext = pNext;
            }

            if (flags is not null)
            {
                Flags = flags.Value;
            }

            if (setLayoutCount is not null)
            {
                SetLayoutCount = setLayoutCount.Value;
            }

            if (pSetLayouts is not null)
            {
                PSetLayouts = pSetLayouts;
            }

            if (pushConstantRangeCount is not null)
            {
                PushConstantRangeCount = pushConstantRangeCount.Value;
            }

            if (pPushConstantRanges is not null)
            {
                PPushConstantRanges = pPushConstantRanges;
            }
        }
 public PipelineLayoutCreateInfo
 (
     StructureType sType = StructureType.PipelineLayoutCreateInfo,
     void *pNext         = default,
     uint flags          = default,
     uint setLayoutCount = default,
     DescriptorSetLayout *pSetLayouts       = default,
     uint pushConstantRangeCount            = default,
     PushConstantRange *pPushConstantRanges = default
 )
 {
     SType                  = sType;
     PNext                  = pNext;
     Flags                  = flags;
     SetLayoutCount         = setLayoutCount;
     PSetLayouts            = pSetLayouts;
     PushConstantRangeCount = pushConstantRangeCount;
     PPushConstantRanges    = pPushConstantRanges;
 }