vulkan-3.2.0.0: Bindings to the Vulkan graphics API.

Safe HaskellNone
LanguageHaskell2010

Graphics.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
Show PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Storable PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

FromCStruct PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

ToCStruct PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Zero PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

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
Show PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Storable PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

FromCStruct PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

ToCStruct PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Zero PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

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
Show PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Storable PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

FromCStruct PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

ToCStruct PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Zero PipelineColorBlendAdvancedStateCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

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
Eq BlendOverlapEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Ord BlendOverlapEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Read BlendOverlapEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Show BlendOverlapEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Storable BlendOverlapEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

Zero BlendOverlapEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_blend_operation_advanced

type EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME = "VK_EXT_blend_operation_advanced" Source #