Safe Haskell | None |
---|---|
Language | Haskell2010 |
Vulkan.Extensions.VK_EXT_blend_operation_advanced
Synopsis
- data PhysicalDeviceBlendOperationAdvancedFeaturesEXT = PhysicalDeviceBlendOperationAdvancedFeaturesEXT {}
- data PhysicalDeviceBlendOperationAdvancedPropertiesEXT = PhysicalDeviceBlendOperationAdvancedPropertiesEXT {}
- data PipelineColorBlendAdvancedStateCreateInfoEXT = PipelineColorBlendAdvancedStateCreateInfoEXT {}
- newtype BlendOverlapEXT where
- BlendOverlapEXT Int32
- pattern BLEND_OVERLAP_UNCORRELATED_EXT :: BlendOverlapEXT
- pattern BLEND_OVERLAP_DISJOINT_EXT :: BlendOverlapEXT
- pattern BLEND_OVERLAP_CONJOINT_EXT :: BlendOverlapEXT
- type EXT_BLEND_OPERATION_ADVANCED_SPEC_VERSION = 2
- pattern EXT_BLEND_OPERATION_ADVANCED_SPEC_VERSION :: forall a. Integral a => a
- type EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME = "VK_EXT_blend_operation_advanced"
- pattern EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
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
Constructors
PhysicalDeviceBlendOperationAdvancedFeaturesEXT | |
Fields
|
Instances
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
Constructors
PhysicalDeviceBlendOperationAdvancedPropertiesEXT | |
Fields
|
Instances
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
- If the
non-premultiplied source color
property is not supported,
srcPremultiplied
must beTRUE
- If the
non-premultiplied destination color
property is not supported,
dstPremultiplied
must beTRUE
- If the
correlated overlap
property is not supported,
blendOverlap
must beBLEND_OVERLAP_UNCORRELATED_EXT
Valid Usage (Implicit)
blendOverlap
must be a validBlendOverlapEXT
value
See Also
Constructors
PipelineColorBlendAdvancedStateCreateInfoEXT | |
Fields
|
Instances
newtype BlendOverlapEXT Source #
VkBlendOverlapEXT - Enumerant specifying the blend overlap parameter
Description
'
Overlap Mode | Weighting Equations |
---|---|
BLEND_OVERLAP_UNCORRELATED_EXT
| p0(As,Ad)=AsAdp1(As,Ad)=As(1−Ad)p2(As,Ad)=Ad(1−As) |
BLEND_OVERLAP_CONJOINT_EXT
| p0(As,Ad)=min(As,Ad)p1(As,Ad)=max(As−Ad,0)p2(As,Ad)=max(Ad−As,0) |
BLEND_OVERLAP_DISJOINT_EXT
| p0(As,Ad)=max(As+Ad−1,0)p1(As,Ad)=min(As,1−Ad)p2(As,Ad)=min(Ad,1−As) |
Advanced Blend Overlap Modes
See Also
Constructors
BlendOverlapEXT Int32 |
Bundled Patterns
pattern BLEND_OVERLAP_UNCORRELATED_EXT :: BlendOverlapEXT |
|
pattern BLEND_OVERLAP_DISJOINT_EXT :: BlendOverlapEXT |
|
pattern BLEND_OVERLAP_CONJOINT_EXT :: BlendOverlapEXT |
|
Instances
pattern EXT_BLEND_OPERATION_ADVANCED_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME = "VK_EXT_blend_operation_advanced" Source #
pattern EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #