Exemplo n.º 1
0
        public VideoEncodeH264SessionCreateInfoEXT
        (
            StructureType?sType = StructureType.VideoEncodeH264SessionCreateInfoExt,
            void *pNext         = null,
            VideoEncodeH264CreateFlagsEXT?flags       = null,
            Extent2D?maxPictureSizeInMbs              = null,
            ExtensionProperties *pStdExtensionVersion = 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 (maxPictureSizeInMbs is not null)
            {
                MaxPictureSizeInMbs = maxPictureSizeInMbs.Value;
            }

            if (pStdExtensionVersion is not null)
            {
                PStdExtensionVersion = pStdExtensionVersion;
            }
        }
Exemplo n.º 2
0
        public RenderingFragmentShadingRateAttachmentInfoKHR
        (
            StructureType?sType     = StructureType.RenderingFragmentShadingRateAttachmentInfoKhr,
            void *pNext             = null,
            ImageView?imageView     = null,
            ImageLayout?imageLayout = null,
            Extent2D?shadingRateAttachmentTexelSize = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (imageView is not null)
            {
                ImageView = imageView.Value;
            }

            if (imageLayout is not null)
            {
                ImageLayout = imageLayout.Value;
            }

            if (shadingRateAttachmentTexelSize is not null)
            {
                ShadingRateAttachmentTexelSize = shadingRateAttachmentTexelSize.Value;
            }
        }
        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;
            }
        }
Exemplo n.º 4
0
        public PhysicalDeviceFragmentDensityMapPropertiesEXT
        (
            StructureType?sType = StructureType.PhysicalDeviceFragmentDensityMapPropertiesExt,
            void *pNext         = null,
            Extent2D?minFragmentDensityTexelSize = null,
            Extent2D?maxFragmentDensityTexelSize = null,
            Bool32?fragmentDensityInvocations    = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (minFragmentDensityTexelSize is not null)
            {
                MinFragmentDensityTexelSize = minFragmentDensityTexelSize.Value;
            }

            if (maxFragmentDensityTexelSize is not null)
            {
                MaxFragmentDensityTexelSize = maxFragmentDensityTexelSize.Value;
            }

            if (fragmentDensityInvocations is not null)
            {
                FragmentDensityInvocations = fragmentDensityInvocations.Value;
            }
        }
Exemplo n.º 5
0
        public PhysicalDeviceShadingRateImagePropertiesNV
        (
            StructureType?sType              = StructureType.PhysicalDeviceShadingRateImagePropertiesNV,
            void *pNext                      = null,
            Extent2D?shadingRateTexelSize    = null,
            uint?shadingRatePaletteSize      = null,
            uint?shadingRateMaxCoarseSamples = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (shadingRateTexelSize is not null)
            {
                ShadingRateTexelSize = shadingRateTexelSize.Value;
            }

            if (shadingRatePaletteSize is not null)
            {
                ShadingRatePaletteSize = shadingRatePaletteSize.Value;
            }

            if (shadingRateMaxCoarseSamples is not null)
            {
                ShadingRateMaxCoarseSamples = shadingRateMaxCoarseSamples.Value;
            }
        }
Exemplo n.º 6
0
        public DisplayPlaneCapabilitiesKHR
        (
            DisplayPlaneAlphaFlagsKHR?supportedAlpha = null,
            Offset2D?minSrcPosition = null,
            Offset2D?maxSrcPosition = null,
            Extent2D?minSrcExtent   = null,
            Extent2D?maxSrcExtent   = null,
            Offset2D?minDstPosition = null,
            Offset2D?maxDstPosition = null,
            Extent2D?minDstExtent   = null,
            Extent2D?maxDstExtent   = null
        ) : this()
        {
            if (supportedAlpha is not null)
            {
                SupportedAlpha = supportedAlpha.Value;
            }

            if (minSrcPosition is not null)
            {
                MinSrcPosition = minSrcPosition.Value;
            }

            if (maxSrcPosition is not null)
            {
                MaxSrcPosition = maxSrcPosition.Value;
            }

            if (minSrcExtent is not null)
            {
                MinSrcExtent = minSrcExtent.Value;
            }

            if (maxSrcExtent is not null)
            {
                MaxSrcExtent = maxSrcExtent.Value;
            }

            if (minDstPosition is not null)
            {
                MinDstPosition = minDstPosition.Value;
            }

            if (maxDstPosition is not null)
            {
                MaxDstPosition = maxDstPosition.Value;
            }

            if (minDstExtent is not null)
            {
                MinDstExtent = minDstExtent.Value;
            }

            if (maxDstExtent is not null)
            {
                MaxDstExtent = maxDstExtent.Value;
            }
        }
Exemplo n.º 7
0
        public Rect2D
        (
            Offset2D?offset = null,
            Extent2D?extent = null
        ) : this()
        {
            if (offset is not null)
            {
                Offset = offset.Value;
            }

            if (extent is not null)
            {
                Extent = extent.Value;
            }
        }
Exemplo n.º 8
0
        public DisplayModeParametersKHR
        (
            Extent2D?visibleRegion = null,
            uint?refreshRate       = null
        ) : this()
        {
            if (visibleRegion is not null)
            {
                VisibleRegion = visibleRegion.Value;
            }

            if (refreshRate is not null)
            {
                RefreshRate = refreshRate.Value;
            }
        }
        public DisplayPropertiesKHR
        (
            DisplayKHR?display          = null,
            byte *displayName           = null,
            Extent2D?physicalDimensions = null,
            Extent2D?physicalResolution = null,
            SurfaceTransformFlagsKHR?supportedTransforms = null,
            Bool32?planeReorderPossible = null,
            Bool32?persistentContent    = null
        ) : this()
        {
            if (display is not null)
            {
                Display = display.Value;
            }

            if (displayName is not null)
            {
                DisplayName = displayName;
            }

            if (physicalDimensions is not null)
            {
                PhysicalDimensions = physicalDimensions.Value;
            }

            if (physicalResolution is not null)
            {
                PhysicalResolution = physicalResolution.Value;
            }

            if (supportedTransforms is not null)
            {
                SupportedTransforms = supportedTransforms.Value;
            }

            if (planeReorderPossible is not null)
            {
                PlaneReorderPossible = planeReorderPossible.Value;
            }

            if (persistentContent is not null)
            {
                PersistentContent = persistentContent.Value;
            }
        }
        public VideoPictureResourceKHR
        (
            StructureType?sType        = StructureType.VideoPictureResourceKhr,
            void *pNext                = null,
            Offset2D?codedOffset       = null,
            Extent2D?codedExtent       = null,
            uint?baseArrayLayer        = null,
            ImageView?imageViewBinding = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (codedOffset is not null)
            {
                CodedOffset = codedOffset.Value;
            }

            if (codedExtent is not null)
            {
                CodedExtent = codedExtent.Value;
            }

            if (baseArrayLayer is not null)
            {
                BaseArrayLayer = baseArrayLayer.Value;
            }

            if (imageViewBinding is not null)
            {
                ImageViewBinding = imageViewBinding.Value;
            }
        }
Exemplo n.º 11
0
        public SampleLocationsInfoEXT
        (
            StructureType?sType = StructureType.SampleLocationsInfoExt,
            void *pNext         = null,
            SampleCountFlags?sampleLocationsPerPixel = null,
            Extent2D?sampleLocationGridSize          = null,
            uint?sampleLocationsCount           = null,
            SampleLocationEXT *pSampleLocations = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (sampleLocationsPerPixel is not null)
            {
                SampleLocationsPerPixel = sampleLocationsPerPixel.Value;
            }

            if (sampleLocationGridSize is not null)
            {
                SampleLocationGridSize = sampleLocationGridSize.Value;
            }

            if (sampleLocationsCount is not null)
            {
                SampleLocationsCount = sampleLocationsCount.Value;
            }

            if (pSampleLocations is not null)
            {
                PSampleLocations = pSampleLocations;
            }
        }
        public PhysicalDeviceSampleLocationsPropertiesEXT
        (
            StructureType?sType = StructureType.PhysicalDeviceSampleLocationsPropertiesExt,
            void *pNext         = null,
            SampleCountFlags?sampleLocationSampleCounts = null,
            Extent2D?maxSampleLocationGridSize          = null,
            uint?sampleLocationSubPixelBits             = null,
            Bool32?variableSampleLocations = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (sampleLocationSampleCounts is not null)
            {
                SampleLocationSampleCounts = sampleLocationSampleCounts.Value;
            }

            if (maxSampleLocationGridSize is not null)
            {
                MaxSampleLocationGridSize = maxSampleLocationGridSize.Value;
            }

            if (sampleLocationSubPixelBits is not null)
            {
                SampleLocationSubPixelBits = sampleLocationSubPixelBits.Value;
            }

            if (variableSampleLocations is not null)
            {
                VariableSampleLocations = variableSampleLocations.Value;
            }
        }
        public PipelineFragmentShadingRateStateCreateInfoKHR
        (
            StructureType?sType   = StructureType.PipelineFragmentShadingRateStateCreateInfoKhr,
            void *pNext           = null,
            Extent2D?fragmentSize = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (fragmentSize is not null)
            {
                FragmentSize = fragmentSize.Value;
            }
        }
        public PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM
        (
            StructureType?sType = StructureType.PhysicalDeviceFragmentDensityMapOffsetPropertiesQCom,
            void *pNext         = null,
            Extent2D?fragmentDensityOffsetGranularity = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (fragmentDensityOffsetGranularity is not null)
            {
                FragmentDensityOffsetGranularity = fragmentDensityOffsetGranularity.Value;
            }
        }
Exemplo n.º 15
0
        public RectLayerKHR
        (
            Offset2D?offset = null,
            Extent2D?extent = null,
            uint?layer      = null
        ) : this()
        {
            if (offset is not null)
            {
                Offset = offset.Value;
            }

            if (extent is not null)
            {
                Extent = extent.Value;
            }

            if (layer is not null)
            {
                Layer = layer.Value;
            }
        }
        public MultisamplePropertiesEXT
        (
            StructureType?sType = StructureType.MultisamplePropertiesExt,
            void *pNext         = null,
            Extent2D?maxSampleLocationGridSize = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (maxSampleLocationGridSize is not null)
            {
                MaxSampleLocationGridSize = maxSampleLocationGridSize.Value;
            }
        }
Exemplo n.º 17
0
        public DisplaySurfaceCreateInfoKHR
        (
            StructureType?sType                 = StructureType.DisplaySurfaceCreateInfoKhr,
            void *pNext                         = null,
            uint?flags                          = null,
            DisplayModeKHR?displayMode          = null,
            uint?planeIndex                     = null,
            uint?planeStackIndex                = null,
            SurfaceTransformFlagsKHR?transform  = null,
            float?globalAlpha                   = null,
            DisplayPlaneAlphaFlagsKHR?alphaMode = null,
            Extent2D?imageExtent                = 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 (displayMode is not null)
            {
                DisplayMode = displayMode.Value;
            }

            if (planeIndex is not null)
            {
                PlaneIndex = planeIndex.Value;
            }

            if (planeStackIndex is not null)
            {
                PlaneStackIndex = planeStackIndex.Value;
            }

            if (transform is not null)
            {
                Transform = transform.Value;
            }

            if (globalAlpha is not null)
            {
                GlobalAlpha = globalAlpha.Value;
            }

            if (alphaMode is not null)
            {
                AlphaMode = alphaMode.Value;
            }

            if (imageExtent is not null)
            {
                ImageExtent = imageExtent.Value;
            }
        }
        public SwapchainCreateInfoKHR
        (
            StructureType?sType                   = StructureType.SwapchainCreateInfoKhr,
            void *pNext                           = null,
            SwapchainCreateFlagsKHR?flags         = null,
            SurfaceKHR?surface                    = null,
            uint?minImageCount                    = null,
            Format?imageFormat                    = null,
            ColorSpaceKHR?imageColorSpace         = null,
            Extent2D?imageExtent                  = null,
            uint?imageArrayLayers                 = null,
            ImageUsageFlags?imageUsage            = null,
            SharingMode?imageSharingMode          = null,
            uint?queueFamilyIndexCount            = null,
            uint *pQueueFamilyIndices             = null,
            SurfaceTransformFlagsKHR?preTransform = null,
            CompositeAlphaFlagsKHR?compositeAlpha = null,
            PresentModeKHR?presentMode            = null,
            Bool32?clipped                        = null,
            SwapchainKHR?oldSwapchain             = 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 (surface is not null)
            {
                Surface = surface.Value;
            }

            if (minImageCount is not null)
            {
                MinImageCount = minImageCount.Value;
            }

            if (imageFormat is not null)
            {
                ImageFormat = imageFormat.Value;
            }

            if (imageColorSpace is not null)
            {
                ImageColorSpace = imageColorSpace.Value;
            }

            if (imageExtent is not null)
            {
                ImageExtent = imageExtent.Value;
            }

            if (imageArrayLayers is not null)
            {
                ImageArrayLayers = imageArrayLayers.Value;
            }

            if (imageUsage is not null)
            {
                ImageUsage = imageUsage.Value;
            }

            if (imageSharingMode is not null)
            {
                ImageSharingMode = imageSharingMode.Value;
            }

            if (queueFamilyIndexCount is not null)
            {
                QueueFamilyIndexCount = queueFamilyIndexCount.Value;
            }

            if (pQueueFamilyIndices is not null)
            {
                PQueueFamilyIndices = pQueueFamilyIndices;
            }

            if (preTransform is not null)
            {
                PreTransform = preTransform.Value;
            }

            if (compositeAlpha is not null)
            {
                CompositeAlpha = compositeAlpha.Value;
            }

            if (presentMode is not null)
            {
                PresentMode = presentMode.Value;
            }

            if (clipped is not null)
            {
                Clipped = clipped.Value;
            }

            if (oldSwapchain is not null)
            {
                OldSwapchain = oldSwapchain.Value;
            }
        }
Exemplo n.º 19
0
        public VideoEncodeInfoKHR
        (
            StructureType?sType                        = StructureType.VideoEncodeInfoKhr,
            void *pNext                                = null,
            VideoEncodeFlagsKHR?flags                  = null,
            uint?qualityLevel                          = null,
            Extent2D?codedExtent                       = null,
            Buffer?dstBitstreamBuffer                  = null,
            ulong?dstBitstreamBufferOffset             = null,
            ulong?dstBitstreamBufferMaxRange           = null,
            VideoPictureResourceKHR?srcPictureResource = null,
            VideoReferenceSlotKHR *pSetupReferenceSlot = null,
            uint?referenceSlotCount                    = null,
            VideoReferenceSlotKHR *pReferenceSlots     = null,
            uint?precedingExternallyEncodedBytes       = 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 (qualityLevel is not null)
            {
                QualityLevel = qualityLevel.Value;
            }

            if (codedExtent is not null)
            {
                CodedExtent = codedExtent.Value;
            }

            if (dstBitstreamBuffer is not null)
            {
                DstBitstreamBuffer = dstBitstreamBuffer.Value;
            }

            if (dstBitstreamBufferOffset is not null)
            {
                DstBitstreamBufferOffset = dstBitstreamBufferOffset.Value;
            }

            if (dstBitstreamBufferMaxRange is not null)
            {
                DstBitstreamBufferMaxRange = dstBitstreamBufferMaxRange.Value;
            }

            if (srcPictureResource is not null)
            {
                SrcPictureResource = srcPictureResource.Value;
            }

            if (pSetupReferenceSlot is not null)
            {
                PSetupReferenceSlot = pSetupReferenceSlot;
            }

            if (referenceSlotCount is not null)
            {
                ReferenceSlotCount = referenceSlotCount.Value;
            }

            if (pReferenceSlots is not null)
            {
                PReferenceSlots = pReferenceSlots;
            }

            if (precedingExternallyEncodedBytes is not null)
            {
                PrecedingExternallyEncodedBytes = precedingExternallyEncodedBytes.Value;
            }
        }
        public PhysicalDeviceFragmentShadingRatePropertiesKHR
        (
            StructureType?sType = StructureType.PhysicalDeviceFragmentShadingRatePropertiesKhr,
            void *pNext         = null,
            Extent2D?minFragmentShadingRateAttachmentTexelSize        = null,
            Extent2D?maxFragmentShadingRateAttachmentTexelSize        = null,
            uint?maxFragmentShadingRateAttachmentTexelSizeAspectRatio = null,
            Bool32?primitiveFragmentShadingRateWithMultipleViewports  = null,
            Bool32?layeredShadingRateAttachments            = null,
            Bool32?fragmentShadingRateNonTrivialCombinerOps = null,
            Extent2D?maxFragmentSize                   = null,
            uint?maxFragmentSizeAspectRatio            = null,
            uint?maxFragmentShadingRateCoverageSamples = null,
            SampleCountFlags?maxFragmentShadingRateRasterizationSamples = null,
            Bool32?fragmentShadingRateWithShaderDepthStencilWrites      = null,
            Bool32?fragmentShadingRateWithSampleMask                = null,
            Bool32?fragmentShadingRateWithShaderSampleMask          = null,
            Bool32?fragmentShadingRateWithConservativeRasterization = null,
            Bool32?fragmentShadingRateWithFragmentShaderInterlock   = null,
            Bool32?fragmentShadingRateWithCustomSampleLocations     = null,
            Bool32?fragmentShadingRateStrictMultiplyCombiner        = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (minFragmentShadingRateAttachmentTexelSize is not null)
            {
                MinFragmentShadingRateAttachmentTexelSize = minFragmentShadingRateAttachmentTexelSize.Value;
            }

            if (maxFragmentShadingRateAttachmentTexelSize is not null)
            {
                MaxFragmentShadingRateAttachmentTexelSize = maxFragmentShadingRateAttachmentTexelSize.Value;
            }

            if (maxFragmentShadingRateAttachmentTexelSizeAspectRatio is not null)
            {
                MaxFragmentShadingRateAttachmentTexelSizeAspectRatio = maxFragmentShadingRateAttachmentTexelSizeAspectRatio.Value;
            }

            if (primitiveFragmentShadingRateWithMultipleViewports is not null)
            {
                PrimitiveFragmentShadingRateWithMultipleViewports = primitiveFragmentShadingRateWithMultipleViewports.Value;
            }

            if (layeredShadingRateAttachments is not null)
            {
                LayeredShadingRateAttachments = layeredShadingRateAttachments.Value;
            }

            if (fragmentShadingRateNonTrivialCombinerOps is not null)
            {
                FragmentShadingRateNonTrivialCombinerOps = fragmentShadingRateNonTrivialCombinerOps.Value;
            }

            if (maxFragmentSize is not null)
            {
                MaxFragmentSize = maxFragmentSize.Value;
            }

            if (maxFragmentSizeAspectRatio is not null)
            {
                MaxFragmentSizeAspectRatio = maxFragmentSizeAspectRatio.Value;
            }

            if (maxFragmentShadingRateCoverageSamples is not null)
            {
                MaxFragmentShadingRateCoverageSamples = maxFragmentShadingRateCoverageSamples.Value;
            }

            if (maxFragmentShadingRateRasterizationSamples is not null)
            {
                MaxFragmentShadingRateRasterizationSamples = maxFragmentShadingRateRasterizationSamples.Value;
            }

            if (fragmentShadingRateWithShaderDepthStencilWrites is not null)
            {
                FragmentShadingRateWithShaderDepthStencilWrites = fragmentShadingRateWithShaderDepthStencilWrites.Value;
            }

            if (fragmentShadingRateWithSampleMask is not null)
            {
                FragmentShadingRateWithSampleMask = fragmentShadingRateWithSampleMask.Value;
            }

            if (fragmentShadingRateWithShaderSampleMask is not null)
            {
                FragmentShadingRateWithShaderSampleMask = fragmentShadingRateWithShaderSampleMask.Value;
            }

            if (fragmentShadingRateWithConservativeRasterization is not null)
            {
                FragmentShadingRateWithConservativeRasterization = fragmentShadingRateWithConservativeRasterization.Value;
            }

            if (fragmentShadingRateWithFragmentShaderInterlock is not null)
            {
                FragmentShadingRateWithFragmentShaderInterlock = fragmentShadingRateWithFragmentShaderInterlock.Value;
            }

            if (fragmentShadingRateWithCustomSampleLocations is not null)
            {
                FragmentShadingRateWithCustomSampleLocations = fragmentShadingRateWithCustomSampleLocations.Value;
            }

            if (fragmentShadingRateStrictMultiplyCombiner is not null)
            {
                FragmentShadingRateStrictMultiplyCombiner = fragmentShadingRateStrictMultiplyCombiner.Value;
            }
        }
        public VideoSessionCreateInfoKHR
        (
            StructureType?sType                  = StructureType.VideoSessionCreateInfoKhr,
            void *pNext                          = null,
            uint?queueFamilyIndex                = null,
            VideoSessionCreateFlagsKHR?flags     = null,
            VideoProfileKHR *pVideoProfile       = null,
            Format?pictureFormat                 = null,
            Extent2D?maxCodedExtent              = null,
            Format?referencePicturesFormat       = null,
            uint?maxReferencePicturesSlotsCount  = null,
            uint?maxReferencePicturesActiveCount = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (queueFamilyIndex is not null)
            {
                QueueFamilyIndex = queueFamilyIndex.Value;
            }

            if (flags is not null)
            {
                Flags = flags.Value;
            }

            if (pVideoProfile is not null)
            {
                PVideoProfile = pVideoProfile;
            }

            if (pictureFormat is not null)
            {
                PictureFormat = pictureFormat.Value;
            }

            if (maxCodedExtent is not null)
            {
                MaxCodedExtent = maxCodedExtent.Value;
            }

            if (referencePicturesFormat is not null)
            {
                ReferencePicturesFormat = referencePicturesFormat.Value;
            }

            if (maxReferencePicturesSlotsCount is not null)
            {
                MaxReferencePicturesSlotsCount = maxReferencePicturesSlotsCount.Value;
            }

            if (maxReferencePicturesActiveCount is not null)
            {
                MaxReferencePicturesActiveCount = maxReferencePicturesActiveCount.Value;
            }
        }
Exemplo n.º 22
0
        public VideoCapabilitiesKHR
        (
            StructureType?sType = StructureType.VideoCapabilitiesKhr,
            void *pNext         = null,
            VideoCapabilityFlagsKHR?capabilityFlags = null,
            ulong?minBitstreamBufferOffsetAlignment = null,
            ulong?minBitstreamBufferSizeAlignment   = null,
            Extent2D?videoPictureExtentGranularity  = null,
            Extent2D?minExtent = null,
            Extent2D?maxExtent = null,
            uint?maxReferencePicturesSlotsCount  = null,
            uint?maxReferencePicturesActiveCount = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (capabilityFlags is not null)
            {
                CapabilityFlags = capabilityFlags.Value;
            }

            if (minBitstreamBufferOffsetAlignment is not null)
            {
                MinBitstreamBufferOffsetAlignment = minBitstreamBufferOffsetAlignment.Value;
            }

            if (minBitstreamBufferSizeAlignment is not null)
            {
                MinBitstreamBufferSizeAlignment = minBitstreamBufferSizeAlignment.Value;
            }

            if (videoPictureExtentGranularity is not null)
            {
                VideoPictureExtentGranularity = videoPictureExtentGranularity.Value;
            }

            if (minExtent is not null)
            {
                MinExtent = minExtent.Value;
            }

            if (maxExtent is not null)
            {
                MaxExtent = maxExtent.Value;
            }

            if (maxReferencePicturesSlotsCount is not null)
            {
                MaxReferencePicturesSlotsCount = maxReferencePicturesSlotsCount.Value;
            }

            if (maxReferencePicturesActiveCount is not null)
            {
                MaxReferencePicturesActiveCount = maxReferencePicturesActiveCount.Value;
            }
        }
Exemplo n.º 23
0
        public SurfaceCapabilitiesKHR
        (
            uint?minImageCount       = null,
            uint?maxImageCount       = null,
            Extent2D?currentExtent   = null,
            Extent2D?minImageExtent  = null,
            Extent2D?maxImageExtent  = null,
            uint?maxImageArrayLayers = null,
            SurfaceTransformFlagsKHR?supportedTransforms   = null,
            SurfaceTransformFlagsKHR?currentTransform      = null,
            CompositeAlphaFlagsKHR?supportedCompositeAlpha = null,
            ImageUsageFlags?supportedUsageFlags            = null
        ) : this()
        {
            if (minImageCount is not null)
            {
                MinImageCount = minImageCount.Value;
            }

            if (maxImageCount is not null)
            {
                MaxImageCount = maxImageCount.Value;
            }

            if (currentExtent is not null)
            {
                CurrentExtent = currentExtent.Value;
            }

            if (minImageExtent is not null)
            {
                MinImageExtent = minImageExtent.Value;
            }

            if (maxImageExtent is not null)
            {
                MaxImageExtent = maxImageExtent.Value;
            }

            if (maxImageArrayLayers is not null)
            {
                MaxImageArrayLayers = maxImageArrayLayers.Value;
            }

            if (supportedTransforms is not null)
            {
                SupportedTransforms = supportedTransforms.Value;
            }

            if (currentTransform is not null)
            {
                CurrentTransform = currentTransform.Value;
            }

            if (supportedCompositeAlpha is not null)
            {
                SupportedCompositeAlpha = supportedCompositeAlpha.Value;
            }

            if (supportedUsageFlags is not null)
            {
                SupportedUsageFlags = supportedUsageFlags.Value;
            }
        }
        public VideoEncodeH264CapabilitiesEXT
        (
            StructureType?sType = StructureType.VideoEncodeH264CapabilitiesExt,
            void *pNext         = null,
            VideoEncodeH264CapabilityFlagsEXT?flags           = null,
            VideoEncodeH264InputModeFlagsEXT?inputModeFlags   = null,
            VideoEncodeH264OutputModeFlagsEXT?outputModeFlags = null,
            Extent2D?minPictureSizeInMbs            = null,
            Extent2D?maxPictureSizeInMbs            = null,
            Extent2D?inputImageDataAlignment        = null,
            byte?maxNumL0ReferenceForP              = null,
            byte?maxNumL0ReferenceForB              = null,
            byte?maxNumL1Reference                  = null,
            byte?qualityLevelCount                  = null,
            ExtensionProperties?stdExtensionVersion = 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 (inputModeFlags is not null)
            {
                InputModeFlags = inputModeFlags.Value;
            }

            if (outputModeFlags is not null)
            {
                OutputModeFlags = outputModeFlags.Value;
            }

            if (minPictureSizeInMbs is not null)
            {
                MinPictureSizeInMbs = minPictureSizeInMbs.Value;
            }

            if (maxPictureSizeInMbs is not null)
            {
                MaxPictureSizeInMbs = maxPictureSizeInMbs.Value;
            }

            if (inputImageDataAlignment is not null)
            {
                InputImageDataAlignment = inputImageDataAlignment.Value;
            }

            if (maxNumL0ReferenceForP is not null)
            {
                MaxNumL0ReferenceForP = maxNumL0ReferenceForP.Value;
            }

            if (maxNumL0ReferenceForB is not null)
            {
                MaxNumL0ReferenceForB = maxNumL0ReferenceForB.Value;
            }

            if (maxNumL1Reference is not null)
            {
                MaxNumL1Reference = maxNumL1Reference.Value;
            }

            if (qualityLevelCount is not null)
            {
                QualityLevelCount = qualityLevelCount.Value;
            }

            if (stdExtensionVersion is not null)
            {
                StdExtensionVersion = stdExtensionVersion.Value;
            }
        }
Exemplo n.º 25
0
        public SurfaceCapabilities2EXT
        (
            StructureType?sType      = StructureType.SurfaceCapabilities2Ext,
            void *pNext              = null,
            uint?minImageCount       = null,
            uint?maxImageCount       = null,
            Extent2D?currentExtent   = null,
            Extent2D?minImageExtent  = null,
            Extent2D?maxImageExtent  = null,
            uint?maxImageArrayLayers = null,
            SurfaceTransformFlagsKHR?supportedTransforms    = null,
            SurfaceTransformFlagsKHR?currentTransform       = null,
            CompositeAlphaFlagsKHR?supportedCompositeAlpha  = null,
            ImageUsageFlags?supportedUsageFlags             = null,
            SurfaceCounterFlagsEXT?supportedSurfaceCounters = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (minImageCount is not null)
            {
                MinImageCount = minImageCount.Value;
            }

            if (maxImageCount is not null)
            {
                MaxImageCount = maxImageCount.Value;
            }

            if (currentExtent is not null)
            {
                CurrentExtent = currentExtent.Value;
            }

            if (minImageExtent is not null)
            {
                MinImageExtent = minImageExtent.Value;
            }

            if (maxImageExtent is not null)
            {
                MaxImageExtent = maxImageExtent.Value;
            }

            if (maxImageArrayLayers is not null)
            {
                MaxImageArrayLayers = maxImageArrayLayers.Value;
            }

            if (supportedTransforms is not null)
            {
                SupportedTransforms = supportedTransforms.Value;
            }

            if (currentTransform is not null)
            {
                CurrentTransform = currentTransform.Value;
            }

            if (supportedCompositeAlpha is not null)
            {
                SupportedCompositeAlpha = supportedCompositeAlpha.Value;
            }

            if (supportedUsageFlags is not null)
            {
                SupportedUsageFlags = supportedUsageFlags.Value;
            }

            if (supportedSurfaceCounters is not null)
            {
                SupportedSurfaceCounters = supportedSurfaceCounters.Value;
            }
        }
Exemplo n.º 26
0
        public VideoDecodeInfoKHR
        (
            StructureType?sType       = StructureType.VideoDecodeInfoKhr,
            void *pNext               = null,
            VideoDecodeFlagsKHR?flags = null,
            Offset2D?codedOffset      = null,
            Extent2D?codedExtent      = null,
            Buffer?srcBuffer          = null,
            ulong?srcBufferOffset     = null,
            ulong?srcBufferRange      = null,
            VideoPictureResourceKHR?dstPictureResource = null,
            VideoReferenceSlotKHR *pSetupReferenceSlot = null,
            uint?referenceSlotCount = null,
            VideoReferenceSlotKHR *pReferenceSlots = 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 (codedOffset is not null)
            {
                CodedOffset = codedOffset.Value;
            }

            if (codedExtent is not null)
            {
                CodedExtent = codedExtent.Value;
            }

            if (srcBuffer is not null)
            {
                SrcBuffer = srcBuffer.Value;
            }

            if (srcBufferOffset is not null)
            {
                SrcBufferOffset = srcBufferOffset.Value;
            }

            if (srcBufferRange is not null)
            {
                SrcBufferRange = srcBufferRange.Value;
            }

            if (dstPictureResource is not null)
            {
                DstPictureResource = dstPictureResource.Value;
            }

            if (pSetupReferenceSlot is not null)
            {
                PSetupReferenceSlot = pSetupReferenceSlot;
            }

            if (referenceSlotCount is not null)
            {
                ReferenceSlotCount = referenceSlotCount.Value;
            }

            if (pReferenceSlots is not null)
            {
                PReferenceSlots = pReferenceSlots;
            }
        }