public PipelineViewportShadingRateImageStateCreateInfoNV
        (
            StructureType?sType           = StructureType.PipelineViewportShadingRateImageStateCreateInfoNV,
            void *pNext                   = null,
            Bool32?shadingRateImageEnable = null,
            uint?viewportCount            = null,
            ShadingRatePaletteNV *pShadingRatePalettes = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (shadingRateImageEnable is not null)
            {
                ShadingRateImageEnable = shadingRateImageEnable.Value;
            }

            if (viewportCount is not null)
            {
                ViewportCount = viewportCount.Value;
            }

            if (pShadingRatePalettes is not null)
            {
                PShadingRatePalettes = pShadingRatePalettes;
            }
        }
Esempio n. 2
0
 public PipelineViewportShadingRateImageStateCreateInfoNV
 (
     StructureType sType           = StructureType.PipelineViewportShadingRateImageStateCreateInfoNV,
     void *pNext                   = default,
     Bool32 shadingRateImageEnable = default,
     uint viewportCount            = default,
     ShadingRatePaletteNV *pShadingRatePalettes = default
 )
 {
     SType = sType;
     PNext = pNext;
     ShadingRateImageEnable = shadingRateImageEnable;
     ViewportCount          = viewportCount;
     PShadingRatePalettes   = pShadingRatePalettes;
 }
 public abstract unsafe void CmdSetViewportShadingRatePalette([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint firstViewport, [Count(Count = 0)] uint viewportCount, [Count(Computed = "viewportCount"), Flow(FlowDirection.In)] ShadingRatePaletteNV *pShadingRatePalettes);