public IndirectCommandsLayoutCreateInfoNV
        (
            StructureType?sType = StructureType.IndirectCommandsLayoutCreateInfoNV,
            void *pNext         = null,
            IndirectCommandsLayoutUsageFlagsNV?flags = null,
            PipelineBindPoint?pipelineBindPoint      = null,
            uint?tokenCount = null,
            IndirectCommandsLayoutTokenNV *pTokens = null,
            uint?streamCount     = null,
            uint *pStreamStrides = 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 (pipelineBindPoint is not null)
            {
                PipelineBindPoint = pipelineBindPoint.Value;
            }

            if (tokenCount is not null)
            {
                TokenCount = tokenCount.Value;
            }

            if (pTokens is not null)
            {
                PTokens = pTokens;
            }

            if (streamCount is not null)
            {
                StreamCount = streamCount.Value;
            }

            if (pStreamStrides is not null)
            {
                PStreamStrides = pStreamStrides;
            }
        }
Ejemplo n.º 2
0
        public GeneratedCommandsMemoryRequirementsInfoNV
        (
            StructureType?sType = StructureType.GeneratedCommandsMemoryRequirementsInfoNV,
            void *pNext         = null,
            PipelineBindPoint?pipelineBindPoint = null,
            Pipeline?pipeline = null,
            IndirectCommandsLayoutNV?indirectCommandsLayout = null,
            uint?maxSequencesCount = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (pipelineBindPoint is not null)
            {
                PipelineBindPoint = pipelineBindPoint.Value;
            }

            if (pipeline is not null)
            {
                Pipeline = pipeline.Value;
            }

            if (indirectCommandsLayout is not null)
            {
                IndirectCommandsLayout = indirectCommandsLayout.Value;
            }

            if (maxSequencesCount is not null)
            {
                MaxSequencesCount = maxSequencesCount.Value;
            }
        }
        public GeneratedCommandsInfoNV
        (
            StructureType?sType = StructureType.GeneratedCommandsInfoNV,
            void *pNext         = null,
            PipelineBindPoint?pipelineBindPoint = null,
            Pipeline?pipeline = null,
            IndirectCommandsLayoutNV?indirectCommandsLayout = null,
            uint?streamCount = null,
            IndirectCommandsStreamNV *pStreams = null,
            uint?sequencesCount         = null,
            Buffer?preprocessBuffer     = null,
            ulong?preprocessOffset      = null,
            ulong?preprocessSize        = null,
            Buffer?sequencesCountBuffer = null,
            ulong?sequencesCountOffset  = null,
            Buffer?sequencesIndexBuffer = null,
            ulong?sequencesIndexOffset  = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (pipelineBindPoint is not null)
            {
                PipelineBindPoint = pipelineBindPoint.Value;
            }

            if (pipeline is not null)
            {
                Pipeline = pipeline.Value;
            }

            if (indirectCommandsLayout is not null)
            {
                IndirectCommandsLayout = indirectCommandsLayout.Value;
            }

            if (streamCount is not null)
            {
                StreamCount = streamCount.Value;
            }

            if (pStreams is not null)
            {
                PStreams = pStreams;
            }

            if (sequencesCount is not null)
            {
                SequencesCount = sequencesCount.Value;
            }

            if (preprocessBuffer is not null)
            {
                PreprocessBuffer = preprocessBuffer.Value;
            }

            if (preprocessOffset is not null)
            {
                PreprocessOffset = preprocessOffset.Value;
            }

            if (preprocessSize is not null)
            {
                PreprocessSize = preprocessSize.Value;
            }

            if (sequencesCountBuffer is not null)
            {
                SequencesCountBuffer = sequencesCountBuffer.Value;
            }

            if (sequencesCountOffset is not null)
            {
                SequencesCountOffset = sequencesCountOffset.Value;
            }

            if (sequencesIndexBuffer is not null)
            {
                SequencesIndexBuffer = sequencesIndexBuffer.Value;
            }

            if (sequencesIndexOffset is not null)
            {
                SequencesIndexOffset = sequencesIndexOffset.Value;
            }
        }
Ejemplo n.º 4
0
        public SubpassDescription2KHR
        (
            StructureType?sType                           = StructureType.SubpassDescription2,
            void *pNext                                   = null,
            SubpassDescriptionFlags?flags                 = null,
            PipelineBindPoint?pipelineBindPoint           = null,
            uint?viewMask                                 = null,
            uint?inputAttachmentCount                     = null,
            AttachmentReference2 *pInputAttachments       = null,
            uint?colorAttachmentCount                     = null,
            AttachmentReference2 *pColorAttachments       = null,
            AttachmentReference2 *pResolveAttachments     = null,
            AttachmentReference2 *pDepthStencilAttachment = null,
            uint?preserveAttachmentCount                  = null,
            uint *pPreserveAttachments                    = 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 (pipelineBindPoint is not null)
            {
                PipelineBindPoint = pipelineBindPoint.Value;
            }

            if (viewMask is not null)
            {
                ViewMask = viewMask.Value;
            }

            if (inputAttachmentCount is not null)
            {
                InputAttachmentCount = inputAttachmentCount.Value;
            }

            if (pInputAttachments is not null)
            {
                PInputAttachments = pInputAttachments;
            }

            if (colorAttachmentCount is not null)
            {
                ColorAttachmentCount = colorAttachmentCount.Value;
            }

            if (pColorAttachments is not null)
            {
                PColorAttachments = pColorAttachments;
            }

            if (pResolveAttachments is not null)
            {
                PResolveAttachments = pResolveAttachments;
            }

            if (pDepthStencilAttachment is not null)
            {
                PDepthStencilAttachment = pDepthStencilAttachment;
            }

            if (preserveAttachmentCount is not null)
            {
                PreserveAttachmentCount = preserveAttachmentCount.Value;
            }

            if (pPreserveAttachments is not null)
            {
                PPreserveAttachments = pPreserveAttachments;
            }
        }
        public DescriptorUpdateTemplateCreateInfoKHR
        (
            StructureType?sType             = StructureType.DescriptorUpdateTemplateCreateInfo,
            void *pNext                     = null,
            uint?flags                      = null,
            uint?descriptorUpdateEntryCount = null,
            DescriptorUpdateTemplateEntry *pDescriptorUpdateEntries = null,
            DescriptorUpdateTemplateType?templateType = null,
            DescriptorSetLayout?descriptorSetLayout   = null,
            PipelineBindPoint?pipelineBindPoint       = null,
            PipelineLayout?pipelineLayout             = null,
            uint?set = 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 (descriptorUpdateEntryCount is not null)
            {
                DescriptorUpdateEntryCount = descriptorUpdateEntryCount.Value;
            }

            if (pDescriptorUpdateEntries is not null)
            {
                PDescriptorUpdateEntries = pDescriptorUpdateEntries;
            }

            if (templateType is not null)
            {
                TemplateType = templateType.Value;
            }

            if (descriptorSetLayout is not null)
            {
                DescriptorSetLayout = descriptorSetLayout.Value;
            }

            if (pipelineBindPoint is not null)
            {
                PipelineBindPoint = pipelineBindPoint.Value;
            }

            if (pipelineLayout is not null)
            {
                PipelineLayout = pipelineLayout.Value;
            }

            if (set is not null)
            {
                Set = set.Value;
            }
        }
Ejemplo n.º 6
0
        public SubpassDescription
        (
            SubpassDescriptionFlags?flags                = null,
            PipelineBindPoint?pipelineBindPoint          = null,
            uint?inputAttachmentCount                    = null,
            AttachmentReference *pInputAttachments       = null,
            uint?colorAttachmentCount                    = null,
            AttachmentReference *pColorAttachments       = null,
            AttachmentReference *pResolveAttachments     = null,
            AttachmentReference *pDepthStencilAttachment = null,
            uint?preserveAttachmentCount                 = null,
            uint *pPreserveAttachments                   = null
        ) : this()
        {
            if (flags is not null)
            {
                Flags = flags.Value;
            }

            if (pipelineBindPoint is not null)
            {
                PipelineBindPoint = pipelineBindPoint.Value;
            }

            if (inputAttachmentCount is not null)
            {
                InputAttachmentCount = inputAttachmentCount.Value;
            }

            if (pInputAttachments is not null)
            {
                PInputAttachments = pInputAttachments;
            }

            if (colorAttachmentCount is not null)
            {
                ColorAttachmentCount = colorAttachmentCount.Value;
            }

            if (pColorAttachments is not null)
            {
                PColorAttachments = pColorAttachments;
            }

            if (pResolveAttachments is not null)
            {
                PResolveAttachments = pResolveAttachments;
            }

            if (pDepthStencilAttachment is not null)
            {
                PDepthStencilAttachment = pDepthStencilAttachment;
            }

            if (preserveAttachmentCount is not null)
            {
                PreserveAttachmentCount = preserveAttachmentCount.Value;
            }

            if (pPreserveAttachments is not null)
            {
                PPreserveAttachments = pPreserveAttachments;
            }
        }