public FragmentShadingRateAttachmentInfoKHR
        (
            StructureType?sType = StructureType.FragmentShadingRateAttachmentInfoKhr,
            void *pNext         = null,
            AttachmentReference2 *pFragmentShadingRateAttachment = null,
            Extent2D?shadingRateAttachmentTexelSize = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (pFragmentShadingRateAttachment is not null)
            {
                PFragmentShadingRateAttachment = pFragmentShadingRateAttachment;
            }

            if (shadingRateAttachmentTexelSize is not null)
            {
                ShadingRateAttachmentTexelSize = shadingRateAttachmentTexelSize.Value;
            }
        }
 public SubpassDescription2
 (
     StructureType sType                           = StructureType.SubpassDescription2,
     void *pNext                                   = default,
     SubpassDescriptionFlags flags                 = default,
     PipelineBindPoint pipelineBindPoint           = default,
     uint viewMask                                 = default,
     uint inputAttachmentCount                     = default,
     AttachmentReference2 *pInputAttachments       = default,
     uint colorAttachmentCount                     = default,
     AttachmentReference2 *pColorAttachments       = default,
     AttachmentReference2 *pResolveAttachments     = default,
     AttachmentReference2 *pDepthStencilAttachment = default,
     uint preserveAttachmentCount                  = default,
     uint *pPreserveAttachments                    = default
 )
 {
     SType                   = sType;
     PNext                   = pNext;
     Flags                   = flags;
     PipelineBindPoint       = pipelineBindPoint;
     ViewMask                = viewMask;
     InputAttachmentCount    = inputAttachmentCount;
     PInputAttachments       = pInputAttachments;
     ColorAttachmentCount    = colorAttachmentCount;
     PColorAttachments       = pColorAttachments;
     PResolveAttachments     = pResolveAttachments;
     PDepthStencilAttachment = pDepthStencilAttachment;
     PreserveAttachmentCount = preserveAttachmentCount;
     PPreserveAttachments    = pPreserveAttachments;
 }
Exemple #3
0
        public SubpassDescriptionDepthStencilResolve
        (
            StructureType?sType = StructureType.SubpassDescriptionDepthStencilResolve,
            void *pNext         = null,
            ResolveModeFlags?depthResolveMode   = null,
            ResolveModeFlags?stencilResolveMode = null,
            AttachmentReference2 *pDepthStencilResolveAttachment = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (depthResolveMode is not null)
            {
                DepthResolveMode = depthResolveMode.Value;
            }

            if (stencilResolveMode is not null)
            {
                StencilResolveMode = stencilResolveMode.Value;
            }

            if (pDepthStencilResolveAttachment is not null)
            {
                PDepthStencilResolveAttachment = pDepthStencilResolveAttachment;
            }
        }
 public SubpassDescriptionDepthStencilResolve
 (
     StructureType sType = StructureType.SubpassDescriptionDepthStencilResolve,
     void *pNext         = default,
     ResolveModeFlags depthResolveMode   = default,
     ResolveModeFlags stencilResolveMode = default,
     AttachmentReference2 *pDepthStencilResolveAttachment = default
 )
 {
     SType                          = sType;
     PNext                          = pNext;
     DepthResolveMode               = depthResolveMode;
     StencilResolveMode             = stencilResolveMode;
     PDepthStencilResolveAttachment = pDepthStencilResolveAttachment;
 }
Exemple #5
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;
            }
        }