Exemplo n.º 1
0
        public ImageFormatListCreateInfo
        (
            StructureType?sType  = StructureType.ImageFormatListCreateInfo,
            void *pNext          = null,
            uint?viewFormatCount = null,
            Format *pViewFormats = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (viewFormatCount is not null)
            {
                ViewFormatCount = viewFormatCount.Value;
            }

            if (pViewFormats is not null)
            {
                PViewFormats = pViewFormats;
            }
        }
Exemplo n.º 2
0
        public FramebufferAttachmentImageInfo
        (
            StructureType?sType    = StructureType.FramebufferAttachmentImageInfo,
            void *pNext            = null,
            ImageCreateFlags?flags = null,
            ImageUsageFlags?usage  = null,
            uint?width             = null,
            uint?height            = null,
            uint?layerCount        = null,
            uint?viewFormatCount   = null,
            Format *pViewFormats   = 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 (usage is not null)
            {
                Usage = usage.Value;
            }

            if (width is not null)
            {
                Width = width.Value;
            }

            if (height is not null)
            {
                Height = height.Value;
            }

            if (layerCount is not null)
            {
                LayerCount = layerCount.Value;
            }

            if (viewFormatCount is not null)
            {
                ViewFormatCount = viewFormatCount.Value;
            }

            if (pViewFormats is not null)
            {
                PViewFormats = pViewFormats;
            }
        }
Exemplo n.º 3
0
        public CommandBufferInheritanceRenderingInfoKHR
        (
            StructureType?sType                   = StructureType.CommandBufferInheritanceRenderingInfoKhr,
            void *pNext                           = null,
            RenderingFlagsKHR?flags               = null,
            uint?viewMask                         = null,
            uint?colorAttachmentCount             = null,
            Format *pColorAttachmentFormats       = null,
            Format?depthAttachmentFormat          = null,
            Format?stencilAttachmentFormat        = null,
            SampleCountFlags?rasterizationSamples = 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 (viewMask is not null)
            {
                ViewMask = viewMask.Value;
            }

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

            if (pColorAttachmentFormats is not null)
            {
                PColorAttachmentFormats = pColorAttachmentFormats;
            }

            if (depthAttachmentFormat is not null)
            {
                DepthAttachmentFormat = depthAttachmentFormat.Value;
            }

            if (stencilAttachmentFormat is not null)
            {
                StencilAttachmentFormat = stencilAttachmentFormat.Value;
            }

            if (rasterizationSamples is not null)
            {
                RasterizationSamples = rasterizationSamples.Value;
            }
        }
 public ImageFormatListCreateInfoKHR
 (
     StructureType sType  = StructureType.ImageFormatListCreateInfo,
     void *pNext          = default,
     uint viewFormatCount = default,
     Format *pViewFormats = default
 )
 {
     SType           = sType;
     PNext           = pNext;
     ViewFormatCount = viewFormatCount;
     PViewFormats    = pViewFormats;
 }
Exemplo n.º 5
0
        public PipelineRenderingCreateInfoKHR
        (
            StructureType?sType             = StructureType.PipelineRenderingCreateInfoKhr,
            void *pNext                     = null,
            uint?viewMask                   = null,
            uint?colorAttachmentCount       = null,
            Format *pColorAttachmentFormats = null,
            Format?depthAttachmentFormat    = null,
            Format?stencilAttachmentFormat  = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

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

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

            if (pColorAttachmentFormats is not null)
            {
                PColorAttachmentFormats = pColorAttachmentFormats;
            }

            if (depthAttachmentFormat is not null)
            {
                DepthAttachmentFormat = depthAttachmentFormat.Value;
            }

            if (stencilAttachmentFormat is not null)
            {
                StencilAttachmentFormat = stencilAttachmentFormat.Value;
            }
        }
Exemplo n.º 6
0
 public FramebufferAttachmentImageInfo
 (
     StructureType sType    = StructureType.FramebufferAttachmentImageInfo,
     void *pNext            = default,
     ImageCreateFlags flags = default,
     ImageUsageFlags usage  = default,
     uint width             = default,
     uint height            = default,
     uint layerCount        = default,
     uint viewFormatCount   = default,
     Format *pViewFormats   = default
 )
 {
     SType           = sType;
     PNext           = pNext;
     Flags           = flags;
     Usage           = usage;
     Width           = width;
     Height          = height;
     LayerCount      = layerCount;
     ViewFormatCount = viewFormatCount;
     PViewFormats    = pViewFormats;
 }