Beispiel #1
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;
            }
        }
Beispiel #2
0
        public PhysicalDeviceDepthStencilResolveProperties
        (
            StructureType?sType = StructureType.PhysicalDeviceDepthStencilResolveProperties,
            void *pNext         = null,
            ResolveModeFlags?supportedDepthResolveModes   = null,
            ResolveModeFlags?supportedStencilResolveModes = null,
            Bool32?independentResolveNone = null,
            Bool32?independentResolve     = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (supportedDepthResolveModes is not null)
            {
                SupportedDepthResolveModes = supportedDepthResolveModes.Value;
            }

            if (supportedStencilResolveModes is not null)
            {
                SupportedStencilResolveModes = supportedStencilResolveModes.Value;
            }

            if (independentResolveNone is not null)
            {
                IndependentResolveNone = independentResolveNone.Value;
            }

            if (independentResolve is not null)
            {
                IndependentResolve = independentResolve.Value;
            }
        }
        public PhysicalDeviceVulkan12Properties
        (
            StructureType?sType = StructureType.PhysicalDeviceVulkan12Properties,
            void *pNext         = null,
            DriverId?driverID   = null,
            ConformanceVersion?conformanceVersion = null,
            ShaderFloatControlsIndependence?denormBehaviorIndependence = null,
            ShaderFloatControlsIndependence?roundingModeIndependence   = null,
            Bool32?shaderSignedZeroInfNanPreserveFloat16              = null,
            Bool32?shaderSignedZeroInfNanPreserveFloat32              = null,
            Bool32?shaderSignedZeroInfNanPreserveFloat64              = null,
            Bool32?shaderDenormPreserveFloat16                        = null,
            Bool32?shaderDenormPreserveFloat32                        = null,
            Bool32?shaderDenormPreserveFloat64                        = null,
            Bool32?shaderDenormFlushToZeroFloat16                     = null,
            Bool32?shaderDenormFlushToZeroFloat32                     = null,
            Bool32?shaderDenormFlushToZeroFloat64                     = null,
            Bool32?shaderRoundingModeRtefloat16                       = null,
            Bool32?shaderRoundingModeRtefloat32                       = null,
            Bool32?shaderRoundingModeRtefloat64                       = null,
            Bool32?shaderRoundingModeRtzfloat16                       = null,
            Bool32?shaderRoundingModeRtzfloat32                       = null,
            Bool32?shaderRoundingModeRtzfloat64                       = null,
            uint?maxUpdateAfterBindDescriptorsInAllPools              = null,
            Bool32?shaderUniformBufferArrayNonUniformIndexingNative   = null,
            Bool32?shaderSampledImageArrayNonUniformIndexingNative    = null,
            Bool32?shaderStorageBufferArrayNonUniformIndexingNative   = null,
            Bool32?shaderStorageImageArrayNonUniformIndexingNative    = null,
            Bool32?shaderInputAttachmentArrayNonUniformIndexingNative = null,
            Bool32?robustBufferAccessUpdateAfterBind                  = null,
            Bool32?quadDivergentImplicitLod = null,
            uint?maxPerStageDescriptorUpdateAfterBindSamplers         = null,
            uint?maxPerStageDescriptorUpdateAfterBindUniformBuffers   = null,
            uint?maxPerStageDescriptorUpdateAfterBindStorageBuffers   = null,
            uint?maxPerStageDescriptorUpdateAfterBindSampledImages    = null,
            uint?maxPerStageDescriptorUpdateAfterBindStorageImages    = null,
            uint?maxPerStageDescriptorUpdateAfterBindInputAttachments = null,
            uint?maxPerStageUpdateAfterBindResources                  = null,
            uint?maxDescriptorSetUpdateAfterBindSamplers              = null,
            uint?maxDescriptorSetUpdateAfterBindUniformBuffers        = null,
            uint?maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = null,
            uint?maxDescriptorSetUpdateAfterBindStorageBuffers        = null,
            uint?maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = null,
            uint?maxDescriptorSetUpdateAfterBindSampledImages         = null,
            uint?maxDescriptorSetUpdateAfterBindStorageImages         = null,
            uint?maxDescriptorSetUpdateAfterBindInputAttachments      = null,
            ResolveModeFlags?supportedDepthResolveModes               = null,
            ResolveModeFlags?supportedStencilResolveModes             = null,
            Bool32?independentResolveNone                        = null,
            Bool32?independentResolve                            = null,
            Bool32?filterMinmaxSingleComponentFormats            = null,
            Bool32?filterMinmaxImageComponentMapping             = null,
            ulong?maxTimelineSemaphoreValueDifference            = null,
            SampleCountFlags?framebufferIntegerColorSampleCounts = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (driverID is not null)
            {
                DriverID = driverID.Value;
            }

            if (conformanceVersion is not null)
            {
                ConformanceVersion = conformanceVersion.Value;
            }

            if (denormBehaviorIndependence is not null)
            {
                DenormBehaviorIndependence = denormBehaviorIndependence.Value;
            }

            if (roundingModeIndependence is not null)
            {
                RoundingModeIndependence = roundingModeIndependence.Value;
            }

            if (shaderSignedZeroInfNanPreserveFloat16 is not null)
            {
                ShaderSignedZeroInfNanPreserveFloat16 = shaderSignedZeroInfNanPreserveFloat16.Value;
            }

            if (shaderSignedZeroInfNanPreserveFloat32 is not null)
            {
                ShaderSignedZeroInfNanPreserveFloat32 = shaderSignedZeroInfNanPreserveFloat32.Value;
            }

            if (shaderSignedZeroInfNanPreserveFloat64 is not null)
            {
                ShaderSignedZeroInfNanPreserveFloat64 = shaderSignedZeroInfNanPreserveFloat64.Value;
            }

            if (shaderDenormPreserveFloat16 is not null)
            {
                ShaderDenormPreserveFloat16 = shaderDenormPreserveFloat16.Value;
            }

            if (shaderDenormPreserveFloat32 is not null)
            {
                ShaderDenormPreserveFloat32 = shaderDenormPreserveFloat32.Value;
            }

            if (shaderDenormPreserveFloat64 is not null)
            {
                ShaderDenormPreserveFloat64 = shaderDenormPreserveFloat64.Value;
            }

            if (shaderDenormFlushToZeroFloat16 is not null)
            {
                ShaderDenormFlushToZeroFloat16 = shaderDenormFlushToZeroFloat16.Value;
            }

            if (shaderDenormFlushToZeroFloat32 is not null)
            {
                ShaderDenormFlushToZeroFloat32 = shaderDenormFlushToZeroFloat32.Value;
            }

            if (shaderDenormFlushToZeroFloat64 is not null)
            {
                ShaderDenormFlushToZeroFloat64 = shaderDenormFlushToZeroFloat64.Value;
            }

            if (shaderRoundingModeRtefloat16 is not null)
            {
                ShaderRoundingModeRtefloat16 = shaderRoundingModeRtefloat16.Value;
            }

            if (shaderRoundingModeRtefloat32 is not null)
            {
                ShaderRoundingModeRtefloat32 = shaderRoundingModeRtefloat32.Value;
            }

            if (shaderRoundingModeRtefloat64 is not null)
            {
                ShaderRoundingModeRtefloat64 = shaderRoundingModeRtefloat64.Value;
            }

            if (shaderRoundingModeRtzfloat16 is not null)
            {
                ShaderRoundingModeRtzfloat16 = shaderRoundingModeRtzfloat16.Value;
            }

            if (shaderRoundingModeRtzfloat32 is not null)
            {
                ShaderRoundingModeRtzfloat32 = shaderRoundingModeRtzfloat32.Value;
            }

            if (shaderRoundingModeRtzfloat64 is not null)
            {
                ShaderRoundingModeRtzfloat64 = shaderRoundingModeRtzfloat64.Value;
            }

            if (maxUpdateAfterBindDescriptorsInAllPools is not null)
            {
                MaxUpdateAfterBindDescriptorsInAllPools = maxUpdateAfterBindDescriptorsInAllPools.Value;
            }

            if (shaderUniformBufferArrayNonUniformIndexingNative is not null)
            {
                ShaderUniformBufferArrayNonUniformIndexingNative = shaderUniformBufferArrayNonUniformIndexingNative.Value;
            }

            if (shaderSampledImageArrayNonUniformIndexingNative is not null)
            {
                ShaderSampledImageArrayNonUniformIndexingNative = shaderSampledImageArrayNonUniformIndexingNative.Value;
            }

            if (shaderStorageBufferArrayNonUniformIndexingNative is not null)
            {
                ShaderStorageBufferArrayNonUniformIndexingNative = shaderStorageBufferArrayNonUniformIndexingNative.Value;
            }

            if (shaderStorageImageArrayNonUniformIndexingNative is not null)
            {
                ShaderStorageImageArrayNonUniformIndexingNative = shaderStorageImageArrayNonUniformIndexingNative.Value;
            }

            if (shaderInputAttachmentArrayNonUniformIndexingNative is not null)
            {
                ShaderInputAttachmentArrayNonUniformIndexingNative = shaderInputAttachmentArrayNonUniformIndexingNative.Value;
            }

            if (robustBufferAccessUpdateAfterBind is not null)
            {
                RobustBufferAccessUpdateAfterBind = robustBufferAccessUpdateAfterBind.Value;
            }

            if (quadDivergentImplicitLod is not null)
            {
                QuadDivergentImplicitLod = quadDivergentImplicitLod.Value;
            }

            if (maxPerStageDescriptorUpdateAfterBindSamplers is not null)
            {
                MaxPerStageDescriptorUpdateAfterBindSamplers = maxPerStageDescriptorUpdateAfterBindSamplers.Value;
            }

            if (maxPerStageDescriptorUpdateAfterBindUniformBuffers is not null)
            {
                MaxPerStageDescriptorUpdateAfterBindUniformBuffers = maxPerStageDescriptorUpdateAfterBindUniformBuffers.Value;
            }

            if (maxPerStageDescriptorUpdateAfterBindStorageBuffers is not null)
            {
                MaxPerStageDescriptorUpdateAfterBindStorageBuffers = maxPerStageDescriptorUpdateAfterBindStorageBuffers.Value;
            }

            if (maxPerStageDescriptorUpdateAfterBindSampledImages is not null)
            {
                MaxPerStageDescriptorUpdateAfterBindSampledImages = maxPerStageDescriptorUpdateAfterBindSampledImages.Value;
            }

            if (maxPerStageDescriptorUpdateAfterBindStorageImages is not null)
            {
                MaxPerStageDescriptorUpdateAfterBindStorageImages = maxPerStageDescriptorUpdateAfterBindStorageImages.Value;
            }

            if (maxPerStageDescriptorUpdateAfterBindInputAttachments is not null)
            {
                MaxPerStageDescriptorUpdateAfterBindInputAttachments = maxPerStageDescriptorUpdateAfterBindInputAttachments.Value;
            }

            if (maxPerStageUpdateAfterBindResources is not null)
            {
                MaxPerStageUpdateAfterBindResources = maxPerStageUpdateAfterBindResources.Value;
            }

            if (maxDescriptorSetUpdateAfterBindSamplers is not null)
            {
                MaxDescriptorSetUpdateAfterBindSamplers = maxDescriptorSetUpdateAfterBindSamplers.Value;
            }

            if (maxDescriptorSetUpdateAfterBindUniformBuffers is not null)
            {
                MaxDescriptorSetUpdateAfterBindUniformBuffers = maxDescriptorSetUpdateAfterBindUniformBuffers.Value;
            }

            if (maxDescriptorSetUpdateAfterBindUniformBuffersDynamic is not null)
            {
                MaxDescriptorSetUpdateAfterBindUniformBuffersDynamic = maxDescriptorSetUpdateAfterBindUniformBuffersDynamic.Value;
            }

            if (maxDescriptorSetUpdateAfterBindStorageBuffers is not null)
            {
                MaxDescriptorSetUpdateAfterBindStorageBuffers = maxDescriptorSetUpdateAfterBindStorageBuffers.Value;
            }

            if (maxDescriptorSetUpdateAfterBindStorageBuffersDynamic is not null)
            {
                MaxDescriptorSetUpdateAfterBindStorageBuffersDynamic = maxDescriptorSetUpdateAfterBindStorageBuffersDynamic.Value;
            }

            if (maxDescriptorSetUpdateAfterBindSampledImages is not null)
            {
                MaxDescriptorSetUpdateAfterBindSampledImages = maxDescriptorSetUpdateAfterBindSampledImages.Value;
            }

            if (maxDescriptorSetUpdateAfterBindStorageImages is not null)
            {
                MaxDescriptorSetUpdateAfterBindStorageImages = maxDescriptorSetUpdateAfterBindStorageImages.Value;
            }

            if (maxDescriptorSetUpdateAfterBindInputAttachments is not null)
            {
                MaxDescriptorSetUpdateAfterBindInputAttachments = maxDescriptorSetUpdateAfterBindInputAttachments.Value;
            }

            if (supportedDepthResolveModes is not null)
            {
                SupportedDepthResolveModes = supportedDepthResolveModes.Value;
            }

            if (supportedStencilResolveModes is not null)
            {
                SupportedStencilResolveModes = supportedStencilResolveModes.Value;
            }

            if (independentResolveNone is not null)
            {
                IndependentResolveNone = independentResolveNone.Value;
            }

            if (independentResolve is not null)
            {
                IndependentResolve = independentResolve.Value;
            }

            if (filterMinmaxSingleComponentFormats is not null)
            {
                FilterMinmaxSingleComponentFormats = filterMinmaxSingleComponentFormats.Value;
            }

            if (filterMinmaxImageComponentMapping is not null)
            {
                FilterMinmaxImageComponentMapping = filterMinmaxImageComponentMapping.Value;
            }

            if (maxTimelineSemaphoreValueDifference is not null)
            {
                MaxTimelineSemaphoreValueDifference = maxTimelineSemaphoreValueDifference.Value;
            }

            if (framebufferIntegerColorSampleCounts is not null)
            {
                FramebufferIntegerColorSampleCounts = framebufferIntegerColorSampleCounts.Value;
            }
        }
        public RenderingAttachmentInfoKHR
        (
            StructureType?sType            = StructureType.RenderingAttachmentInfoKhr,
            void *pNext                    = null,
            ImageView?imageView            = null,
            ImageLayout?imageLayout        = null,
            ResolveModeFlags?resolveMode   = null,
            ImageView?resolveImageView     = null,
            ImageLayout?resolveImageLayout = null,
            AttachmentLoadOp?loadOp        = null,
            AttachmentStoreOp?storeOp      = null,
            ClearValue?clearValue          = 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 (resolveMode is not null)
            {
                ResolveMode = resolveMode.Value;
            }

            if (resolveImageView is not null)
            {
                ResolveImageView = resolveImageView.Value;
            }

            if (resolveImageLayout is not null)
            {
                ResolveImageLayout = resolveImageLayout.Value;
            }

            if (loadOp is not null)
            {
                LoadOp = loadOp.Value;
            }

            if (storeOp is not null)
            {
                StoreOp = storeOp.Value;
            }

            if (clearValue is not null)
            {
                ClearValue = clearValue.Value;
            }
        }