public ComputePipelineCreateInfo
        (
            StructureType?sType                 = StructureType.ComputePipelineCreateInfo,
            void *pNext                         = null,
            PipelineCreateFlags?flags           = null,
            PipelineShaderStageCreateInfo?stage = null,
            PipelineLayout?layout               = null,
            Pipeline?basePipelineHandle         = null,
            int?basePipelineIndex               = 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 (stage is not null)
            {
                Stage = stage.Value;
            }

            if (layout is not null)
            {
                Layout = layout.Value;
            }

            if (basePipelineHandle is not null)
            {
                BasePipelineHandle = basePipelineHandle.Value;
            }

            if (basePipelineIndex is not null)
            {
                BasePipelineIndex = basePipelineIndex.Value;
            }
        }
Exemple #2
0
        public RayTracingPipelineCreateInfoNV
        (
            StructureType?sType       = StructureType.RayTracingPipelineCreateInfoNV,
            void *pNext               = null,
            PipelineCreateFlags?flags = null,
            uint?stageCount           = null,
            PipelineShaderStageCreateInfo *pStages = null,
            uint?groupCount = null,
            RayTracingShaderGroupCreateInfoNV *pGroups = null,
            uint?maxRecursionDepth      = null,
            PipelineLayout?layout       = null,
            Pipeline?basePipelineHandle = null,
            int?basePipelineIndex       = 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 (stageCount is not null)
            {
                StageCount = stageCount.Value;
            }

            if (pStages is not null)
            {
                PStages = pStages;
            }

            if (groupCount is not null)
            {
                GroupCount = groupCount.Value;
            }

            if (pGroups is not null)
            {
                PGroups = pGroups;
            }

            if (maxRecursionDepth is not null)
            {
                MaxRecursionDepth = maxRecursionDepth.Value;
            }

            if (layout is not null)
            {
                Layout = layout.Value;
            }

            if (basePipelineHandle is not null)
            {
                BasePipelineHandle = basePipelineHandle.Value;
            }

            if (basePipelineIndex is not null)
            {
                BasePipelineIndex = basePipelineIndex.Value;
            }
        }
        public RayTracingPipelineCreateInfoKHR
        (
            StructureType?sType       = StructureType.RayTracingPipelineCreateInfoKhr,
            void *pNext               = null,
            PipelineCreateFlags?flags = null,
            uint?stageCount           = null,
            PipelineShaderStageCreateInfo *pStages = null,
            uint?groupCount = null,
            RayTracingShaderGroupCreateInfoKHR *pGroups = null,
            uint?maxPipelineRayRecursionDepth           = null,
            PipelineLibraryCreateInfoKHR *pLibraryInfo  = null,
            RayTracingPipelineInterfaceCreateInfoKHR *pLibraryInterface = null,
            PipelineDynamicStateCreateInfo *pDynamicState = null,
            PipelineLayout?layout       = null,
            Pipeline?basePipelineHandle = null,
            int?basePipelineIndex       = 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 (stageCount is not null)
            {
                StageCount = stageCount.Value;
            }

            if (pStages is not null)
            {
                PStages = pStages;
            }

            if (groupCount is not null)
            {
                GroupCount = groupCount.Value;
            }

            if (pGroups is not null)
            {
                PGroups = pGroups;
            }

            if (maxPipelineRayRecursionDepth is not null)
            {
                MaxPipelineRayRecursionDepth = maxPipelineRayRecursionDepth.Value;
            }

            if (pLibraryInfo is not null)
            {
                PLibraryInfo = pLibraryInfo;
            }

            if (pLibraryInterface is not null)
            {
                PLibraryInterface = pLibraryInterface;
            }

            if (pDynamicState is not null)
            {
                PDynamicState = pDynamicState;
            }

            if (layout is not null)
            {
                Layout = layout.Value;
            }

            if (basePipelineHandle is not null)
            {
                BasePipelineHandle = basePipelineHandle.Value;
            }

            if (basePipelineIndex is not null)
            {
                BasePipelineIndex = basePipelineIndex.Value;
            }
        }
        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;
            }
        }
Exemple #5
0
        public GraphicsPipelineCreateInfo
        (
            StructureType?sType       = StructureType.GraphicsPipelineCreateInfo,
            void *pNext               = null,
            PipelineCreateFlags?flags = null,
            uint?stageCount           = null,
            PipelineShaderStageCreateInfo *pStages = null,
            PipelineVertexInputStateCreateInfo *pVertexInputState     = null,
            PipelineInputAssemblyStateCreateInfo *pInputAssemblyState = null,
            PipelineTessellationStateCreateInfo *pTessellationState   = null,
            PipelineViewportStateCreateInfo *pViewportState           = null,
            PipelineRasterizationStateCreateInfo *pRasterizationState = null,
            PipelineMultisampleStateCreateInfo *pMultisampleState     = null,
            PipelineDepthStencilStateCreateInfo *pDepthStencilState   = null,
            PipelineColorBlendStateCreateInfo *pColorBlendState       = null,
            PipelineDynamicStateCreateInfo *pDynamicState             = null,
            PipelineLayout?layout       = null,
            RenderPass?renderPass       = null,
            uint?subpass                = null,
            Pipeline?basePipelineHandle = null,
            int?basePipelineIndex       = 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 (stageCount is not null)
            {
                StageCount = stageCount.Value;
            }

            if (pStages is not null)
            {
                PStages = pStages;
            }

            if (pVertexInputState is not null)
            {
                PVertexInputState = pVertexInputState;
            }

            if (pInputAssemblyState is not null)
            {
                PInputAssemblyState = pInputAssemblyState;
            }

            if (pTessellationState is not null)
            {
                PTessellationState = pTessellationState;
            }

            if (pViewportState is not null)
            {
                PViewportState = pViewportState;
            }

            if (pRasterizationState is not null)
            {
                PRasterizationState = pRasterizationState;
            }

            if (pMultisampleState is not null)
            {
                PMultisampleState = pMultisampleState;
            }

            if (pDepthStencilState is not null)
            {
                PDepthStencilState = pDepthStencilState;
            }

            if (pColorBlendState is not null)
            {
                PColorBlendState = pColorBlendState;
            }

            if (pDynamicState is not null)
            {
                PDynamicState = pDynamicState;
            }

            if (layout is not null)
            {
                Layout = layout.Value;
            }

            if (renderPass is not null)
            {
                RenderPass = renderPass.Value;
            }

            if (subpass is not null)
            {
                Subpass = subpass.Value;
            }

            if (basePipelineHandle is not null)
            {
                BasePipelineHandle = basePipelineHandle.Value;
            }

            if (basePipelineIndex is not null)
            {
                BasePipelineIndex = basePipelineIndex.Value;
            }
        }
        public IndirectCommandsLayoutTokenNV
        (
            StructureType?sType = StructureType.IndirectCommandsLayoutTokenNV,
            void *pNext         = null,
            IndirectCommandsTokenTypeNV?tokenType = null,
            uint?stream                = null,
            uint?offset                = null,
            uint?vertexBindingUnit     = null,
            Bool32?vertexDynamicStride = null,
            PipelineLayout?pushconstantPipelineLayout     = null,
            ShaderStageFlags?pushconstantShaderStageFlags = null,
            uint?pushconstantOffset = null,
            uint?pushconstantSize   = null,
            IndirectStateFlagsNV?indirectStateFlags = null,
            uint?indexTypeCount    = null,
            IndexType *pIndexTypes = null,
            uint *pIndexTypeValues = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (tokenType is not null)
            {
                TokenType = tokenType.Value;
            }

            if (stream is not null)
            {
                Stream = stream.Value;
            }

            if (offset is not null)
            {
                Offset = offset.Value;
            }

            if (vertexBindingUnit is not null)
            {
                VertexBindingUnit = vertexBindingUnit.Value;
            }

            if (vertexDynamicStride is not null)
            {
                VertexDynamicStride = vertexDynamicStride.Value;
            }

            if (pushconstantPipelineLayout is not null)
            {
                PushconstantPipelineLayout = pushconstantPipelineLayout.Value;
            }

            if (pushconstantShaderStageFlags is not null)
            {
                PushconstantShaderStageFlags = pushconstantShaderStageFlags.Value;
            }

            if (pushconstantOffset is not null)
            {
                PushconstantOffset = pushconstantOffset.Value;
            }

            if (pushconstantSize is not null)
            {
                PushconstantSize = pushconstantSize.Value;
            }

            if (indirectStateFlags is not null)
            {
                IndirectStateFlags = indirectStateFlags.Value;
            }

            if (indexTypeCount is not null)
            {
                IndexTypeCount = indexTypeCount.Value;
            }

            if (pIndexTypes is not null)
            {
                PIndexTypes = pIndexTypes;
            }

            if (pIndexTypeValues is not null)
            {
                PIndexTypeValues = pIndexTypeValues;
            }
        }