vulkan-3.6.1: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_EXT_blend_operation_advanced

Synopsis

Documentation

data PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source #

VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT - Structure describing advanced blending features that can be supported by an implementation

Members

The members of the PhysicalDeviceBlendOperationAdvancedFeaturesEXT structure describe the following features:

Description

If the PhysicalDeviceBlendOperationAdvancedFeaturesEXT structure is included in the pNext chain of PhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. PhysicalDeviceBlendOperationAdvancedFeaturesEXT can also be included in the pNext chain of DeviceCreateInfo to enable the features.

Valid Usage (Implicit)

See Also

Bool32, StructureType

Constructors

PhysicalDeviceBlendOperationAdvancedFeaturesEXT 

Fields

Instances

Instances details
Eq PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Show PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Generic PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Storable PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

FromCStruct PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

ToCStruct PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Zero PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

type Rep PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

type Rep PhysicalDeviceBlendOperationAdvancedFeaturesEXT = D1 ('MetaData "PhysicalDeviceBlendOperationAdvancedFeaturesEXT" "Vulkan.Extensions.VK_EXT_blend_operation_advanced" "vulkan-3.6.1-inplace" 'False) (C1 ('MetaCons "PhysicalDeviceBlendOperationAdvancedFeaturesEXT" 'PrefixI 'True) (S1 ('MetaSel ('Just "advancedBlendCoherentOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source #

VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT - Structure describing advanced blending limits that can be supported by an implementation

Members

The members of the PhysicalDeviceBlendOperationAdvancedPropertiesEXT structure describe the following implementation-dependent limits:

Description

If the PhysicalDeviceBlendOperationAdvancedPropertiesEXT structure is included in the pNext chain of PhysicalDeviceProperties2, it is filled with the implementation-dependent limits.

Valid Usage (Implicit)

See Also

Bool32, StructureType

Constructors

PhysicalDeviceBlendOperationAdvancedPropertiesEXT 

Fields

Instances

Instances details
Eq PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Show PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Generic PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Storable PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

FromCStruct PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

ToCStruct PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Zero PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

type Rep PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

type Rep PhysicalDeviceBlendOperationAdvancedPropertiesEXT = D1 ('MetaData "PhysicalDeviceBlendOperationAdvancedPropertiesEXT" "Vulkan.Extensions.VK_EXT_blend_operation_advanced" "vulkan-3.6.1-inplace" 'False) (C1 ('MetaCons "PhysicalDeviceBlendOperationAdvancedPropertiesEXT" 'PrefixI 'True) ((S1 ('MetaSel ('Just "advancedBlendMaxColorAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32) :*: (S1 ('MetaSel ('Just "advancedBlendIndependentBlend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "advancedBlendNonPremultipliedSrcColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "advancedBlendNonPremultipliedDstColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "advancedBlendCorrelatedOverlap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "advancedBlendAllOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))

data PipelineColorBlendAdvancedStateCreateInfoEXT Source #

VkPipelineColorBlendAdvancedStateCreateInfoEXT - Structure specifying parameters that affect advanced blend operations

Description

If this structure is not present, srcPremultiplied and dstPremultiplied are both considered to be TRUE, and blendOverlap is considered to be BLEND_OVERLAP_UNCORRELATED_EXT.

Valid Usage

Valid Usage (Implicit)

See Also

BlendOverlapEXT, Bool32, StructureType

Constructors

PipelineColorBlendAdvancedStateCreateInfoEXT 

Fields

Instances

Instances details
Eq PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Show PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Generic PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Storable PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

FromCStruct PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

ToCStruct PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Zero PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

type Rep PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

type Rep PipelineColorBlendAdvancedStateCreateInfoEXT = D1 ('MetaData "PipelineColorBlendAdvancedStateCreateInfoEXT" "Vulkan.Extensions.VK_EXT_blend_operation_advanced" "vulkan-3.6.1-inplace" 'False) (C1 ('MetaCons "PipelineColorBlendAdvancedStateCreateInfoEXT" 'PrefixI 'True) (S1 ('MetaSel ('Just "srcPremultiplied") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "dstPremultiplied") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "blendOverlap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlendOverlapEXT))))

newtype BlendOverlapEXT Source #

VkBlendOverlapEXT - Enumerant specifying the blend overlap parameter

Description

'

Overlap Mode Weighting Equations
BLEND_OVERLAP_UNCORRELATED_EXT \[ \begin{aligned} p_0(A_s,A_d) & = A_sA_d \\ p_1(A_s,A_d) & = A_s(1-A_d) \\ p_2(A_s,A_d) & = A_d(1-A_s) \\ \end{aligned}\]
BLEND_OVERLAP_CONJOINT_EXT \[ \begin{aligned} p_0(A_s,A_d) & = min(A_s,A_d) \\ p_1(A_s,A_d) & = max(A_s-A_d,0) \\ p_2(A_s,A_d) & = max(A_d-A_s,0) \\ \end{aligned}\]
BLEND_OVERLAP_DISJOINT_EXT \[ \begin{aligned} p_0(A_s,A_d) & = max(A_s+A_d-1,0) \\ p_1(A_s,A_d) & = min(A_s,1-A_d) \\ p_2(A_s,A_d) & = min(A_d,1-A_s) \\ \end{aligned}\]

Advanced Blend Overlap Modes

See Also

PipelineColorBlendAdvancedStateCreateInfoEXT

Constructors

BlendOverlapEXT Int32 

Bundled Patterns

pattern BLEND_OVERLAP_UNCORRELATED_EXT :: BlendOverlapEXT

BLEND_OVERLAP_UNCORRELATED_EXT specifies that there is no correlation between the source and destination coverage.

pattern BLEND_OVERLAP_DISJOINT_EXT :: BlendOverlapEXT

BLEND_OVERLAP_DISJOINT_EXT specifies that the source and destination coverage are considered to have minimal overlap.

pattern BLEND_OVERLAP_CONJOINT_EXT :: BlendOverlapEXT

BLEND_OVERLAP_CONJOINT_EXT specifies that the source and destination coverage are considered to have maximal overlap.

Instances

Instances details
Eq BlendOverlapEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Ord BlendOverlapEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Read BlendOverlapEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Show BlendOverlapEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Storable BlendOverlapEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

Zero BlendOverlapEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_blend_operation_advanced

type EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME = "VK_EXT_blend_operation_advanced" Source #